File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,23 @@ documentation.
58
58
3 . Read the [ tutorial] .
59
59
4 . Enjoy!
60
60
61
+ ### Building on Windows
62
+
63
+ To easily build on windows we can use [ MSYS2] ( http://sourceforge.net/projects/msys2/ ) :
64
+
65
+ 1 . Grab the latest MSYS2 installer and go through the installer.
66
+ 2 . Now from the MSYS2 terminal we want to install the mingw64 toolchain and the other
67
+ tools we need.
68
+
69
+ $ pacman -S mingw-w64-i686-toolchain
70
+ $ pacman -S base-devel
71
+
72
+ 3 . With that now start ` mingw32_shell.bat ` from where you installed MSYS2 (i.e. ` C:\msys ` ).
73
+ 4 . From there just navigate to where you have Rust's source code, configure and build it:
74
+
75
+ $ ./configure --build=i686-pc-mingw32
76
+ $ make && make install
77
+
61
78
[ repo ] : https://github.com/rust-lang/rust
62
79
[ tarball ] : http://static.rust-lang.org/dist/rust-nightly.tar.gz
63
80
[ tutorial ] : http://doc.rust-lang.org/tutorial.html
You can’t perform that action at this time.
0 commit comments