Skip to content

Commit ab10cb7

Browse files
committed
Clarify Windows gcc setup instructions.
1 parent 7140918 commit ab10cb7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Read ["Installing Rust"] from [The Book].
6868
# Update package mirrors (may be needed if you have a fresh install of MSYS2)
6969
$ pacman -Sy pacman-mirrors
7070
71-
# Choose one based on platform:
71+
# Choose one based on platform: (+++ see the note below +++)
7272
$ pacman -S mingw-w64-i686-toolchain
7373
$ pacman -S mingw-w64-x86_64-toolchain
7474
@@ -89,9 +89,12 @@ Read ["Installing Rust"] from [The Book].
8989
```
9090
> ***Note:*** gcc versions >= 5 currently have issues building LLVM on Windows
9191
> resulting in a segmentation fault when building Rust. In order to avoid this
92-
> it may be necessary to obtain an earlier version of gcc such as 4.9.x.
93-
> Installers for earlier Windows builds of gcc are available at the
94-
> [Mingw-Builds] project. For more information on this see issue #28260.
92+
> it may be necessary to obtain an earlier version of gcc such as 4.9.x.
93+
> Msys's `pacman` will install the latest version, so for the time being it is
94+
> recommended to skip gcc toolchain installation step above and use [Mingw-Builds]
95+
> project's installer instead. Be sure to add gcc `bin` directory to the path
96+
> before running `configure`.
97+
> For more information on this see issue #28260.
9598

9699
[Mingw-Builds]: http://sourceforge.net/projects/mingw-w64/
97100

0 commit comments

Comments
 (0)