File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ Read ["Installing Rust"] from [The Book].
68
68
# Update package mirrors (may be needed if you have a fresh install of MSYS2)
69
69
$ pacman -Sy pacman-mirrors
70
70
71
- # Choose one based on platform:
71
+ # Choose one based on platform:
72
+ # *** see the note below ***
72
73
$ pacman -S mingw-w64-i686-toolchain
73
74
$ pacman -S mingw-w64-x86_64-toolchain
74
75
@@ -89,9 +90,12 @@ Read ["Installing Rust"] from [The Book].
89
90
` ` `
90
91
> *** Note:*** gcc versions > = 5 currently have issues building LLVM on Windows
91
92
> 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.
93
+ > it may be necessary to obtain an earlier version of gcc such as 4.9.x.
94
+ > Msys' s `pacman` will install the latest version, so for the time being it is
95
+ > recommended to skip gcc toolchain installation step above and use [Mingw-Builds]
96
+ > project' s installer instead. Be sure to add gcc ` bin` directory to the path
97
+ > before running ` configure` .
98
+ > For more information on this see issue # 28260.
95
99
96
100
[Mingw-Builds]: http://sourceforge.net/projects/mingw-w64/
97
101
You can’t perform that action at this time.
0 commit comments