X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=README.md;h=acd9cb6afc8d7e03ed452e5bc418b3e64fe50aef;hb=e02ada6d383459f372ab6f277f25e5e986a60ed8;hp=f581507e3a5bc277d51318644c89527e744080ba;hpb=371c0ead1fb82f7c21c1d0126825785530c671b7;p=rust.git diff --git a/README.md b/README.md index f581507e3a5..acd9cb6afc8 100644 --- a/README.md +++ b/README.md @@ -66,12 +66,15 @@ Read ["Installing Rust"] from [The Book]. ```sh # Update package mirrors (may be needed if you have a fresh install of MSYS2) - $ pacman -Sy&&pacman -S pacman-mirrors - + $ pacman -Sy pacman-mirrors + # Choose one based on platform: $ pacman -S mingw-w64-i686-toolchain $ pacman -S mingw-w64-x86_64-toolchain + # Make git available in MSYS2 (if not already available on path) + $ pacman -S git + $ pacman -S base-devel ``` @@ -84,6 +87,13 @@ Read ["Installing Rust"] from [The Book]. $ ./configure $ make && make install ``` +> ***Note:*** gcc versions >= 5 currently have issues building LLVM on Windows +> 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. +> Installers for earlier Windows builds of gcc are available at the +> [Mingw-Builds] project. For more information on this see issue #28260. + +[Mingw-Builds]: http://sourceforge.net/projects/mingw-w64/ ## Building Documentation @@ -98,7 +108,7 @@ Building the documentation requires building the compiler, so the above details will apply. Once you have the compiler built, you can ```sh -$ make docs NO_REBUILD=1 +$ make docs NO_REBUILD=1 ``` To make sure you don’t re-build the compiler because you made a change