mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Clarify Windows gcc setup instructions.
This commit is contained in:
parent
71409184dc
commit
ab10cb7443
@ -68,7 +68,7 @@ Read ["Installing Rust"] from [The Book].
|
|||||||
# Update package mirrors (may be needed if you have a fresh install of MSYS2)
|
# Update package mirrors (may be needed if you have a fresh install of MSYS2)
|
||||||
$ pacman -Sy pacman-mirrors
|
$ pacman -Sy pacman-mirrors
|
||||||
|
|
||||||
# Choose one based on platform:
|
# Choose one based on platform: (+++ see the note below +++)
|
||||||
$ pacman -S mingw-w64-i686-toolchain
|
$ pacman -S mingw-w64-i686-toolchain
|
||||||
$ pacman -S mingw-w64-x86_64-toolchain
|
$ pacman -S mingw-w64-x86_64-toolchain
|
||||||
|
|
||||||
@ -90,8 +90,11 @@ Read ["Installing Rust"] from [The Book].
|
|||||||
> ***Note:*** gcc versions >= 5 currently have issues building LLVM on Windows
|
> ***Note:*** gcc versions >= 5 currently have issues building LLVM on Windows
|
||||||
> resulting in a segmentation fault when building Rust. In order to avoid this
|
> resulting in a segmentation fault when building Rust. In order to avoid this
|
||||||
> it may be necessary to obtain an earlier version of gcc such as 4.9.x.
|
> it may be necessary to obtain an earlier version of gcc such as 4.9.x.
|
||||||
> Installers for earlier Windows builds of gcc are available at the
|
> Msys's `pacman` will install the latest version, so for the time being it is
|
||||||
> [Mingw-Builds] project. For more information on this see issue #28260.
|
> recommended to skip gcc toolchain installation step above and use [Mingw-Builds]
|
||||||
|
> project's installer instead. Be sure to add gcc `bin` directory to the path
|
||||||
|
> before running `configure`.
|
||||||
|
> For more information on this see issue #28260.
|
||||||
|
|
||||||
[Mingw-Builds]: http://sourceforge.net/projects/mingw-w64/
|
[Mingw-Builds]: http://sourceforge.net/projects/mingw-w64/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user