X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=README.md;h=acd9cb6afc8d7e03ed452e5bc418b3e64fe50aef;hb=95fb8d1c87907de61514a624ef62f6a6b463aefc;hp=67285da2e3a6518294d898bd6fc4eab7d310f7a3;hpb=4bb90232daab451cf58359e0c5874bc905d2f101;p=rust.git diff --git a/README.md b/README.md index 67285da2e3a..acd9cb6afc8 100644 --- a/README.md +++ b/README.md @@ -67,11 +67,14 @@ Read ["Installing Rust"] from [The Book]. ```sh # Update package mirrors (may be needed if you have a fresh install of MSYS2) $ 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