mirror of https://github.com/rust-lang/rust.git
Add notes about 32 vs 64 bit Windows
This commit is contained in:
parent
0017bfa002
commit
599232503a
13
README.md
13
README.md
|
@ -64,10 +64,17 @@ To easily build on windows we can use [MSYS2](http://msys2.github.io/):
|
||||||
2. Now from the MSYS2 terminal we want to install the mingw64 toolchain and the other
|
2. Now from the MSYS2 terminal we want to install the mingw64 toolchain and the other
|
||||||
tools we need.
|
tools we need.
|
||||||
|
|
||||||
$ pacman -S mingw-w64-i686-toolchain
|
```bash
|
||||||
$ pacman -S base-devel
|
# choose one based on platform
|
||||||
|
$ pacman -S mingw-w64-i686-toolchain
|
||||||
|
$ pacman -S mingw-w64-x86_64-toolchain
|
||||||
|
|
||||||
3. With that now start `mingw32_shell.bat` from where you installed MSYS2 (i.e. `C:\msys`).
|
$ pacman -S base-devel
|
||||||
|
```
|
||||||
|
|
||||||
|
3. With that now start `mingw32_shell.bat` or `mingw64_shell.bat`
|
||||||
|
from where you installed MSYS2 (i.e. `C:\msys`). Which one you
|
||||||
|
choose depends on if you want 32 or 64 bit Rust.
|
||||||
4. From there just navigate to where you have Rust's source code, configure and build it:
|
4. From there just navigate to where you have Rust's source code, configure and build it:
|
||||||
|
|
||||||
$ ./configure
|
$ ./configure
|
||||||
|
|
Loading…
Reference in New Issue