]> git.lizzy.rs Git - rust.git/commitdiff
Add notes about 32 vs 64 bit Windows
authorSteve Klabnik <steve@steveklabnik.com>
Mon, 12 Jan 2015 21:00:03 +0000 (16:00 -0500)
committerSteve Klabnik <steve@steveklabnik.com>
Tue, 13 Jan 2015 15:43:52 +0000 (10:43 -0500)
README.md

index f21317cfca6f82629f9a16bc2468cb48b21b6d16..147d2e9d2f44aa1c377bd06a1757616d7a3840bf 100644 (file)
--- a/README.md
+++ b/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
    tools we need.
 
-        $ pacman -S mingw-w64-i686-toolchain
-        $ pacman -S base-devel
+```bash
+# 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:
 
         $ ./configure