Updated Compilation guide (Windows) (markdown)
parent
293afcaccb
commit
83e2fd7848
|
@ -1,7 +1,20 @@
|
||||||
Compiling RetroArch for Windows is done with the MinGW toolchain. Both 32-bit and 64-bit variants should work.
|
Compiling RetroArch for Windows is done with the MinGW toolchain. Both 32-bit and 64-bit variants should work.
|
||||||
|
|
||||||
## Building RetroArch
|
## Building RetroArch
|
||||||
Download and run [MSYSGit](http://code.google.com/p/msysgit/), and you should be presented with a bash shell with Git working. You'll also need the MinGW-w64 toolchain (includes both 32-bit and 64-bit compiler), with make installed. Then you can check out the source tree:
|
Download and run [Git for Windows](http://git-scm.com/download/win), and you should be able to get a bash shell with Git working.
|
||||||
|
|
||||||
|
You'll also need the MinGW-w64 toolchain [here](http://mingw-w64.sourceforge.net/).
|
||||||
|
There are many builds to choose from. Generally, from left pane, pick WIN32 or WIN64 downloads,
|
||||||
|
Personal Builds, and go from there (I personally use rubenvb's builds, but that's me).
|
||||||
|
You'll want to see x86_64-w64-mingw32 for 64-bit toolchains and i686-w64-mingw32 for 32-bit toolchains.
|
||||||
|
|
||||||
|
For example, x86_64-w64-mingw32-gcc-4.8.0-win64 means the toolchain compiles code for x86_64-w64-mingw32 (64-bit) and the compiler itself runs on win64. There are builds that run on other setups, like Cygwin, OSX and Linux which are used to cross compile for Windows.
|
||||||
|
|
||||||
|
After you have downloaded and extracted the archive, make sure you set the PATH environmental variable to point to bin/ directory. After setup correctly, you should be able to run `gcc -v` in the Git shell.
|
||||||
|
|
||||||
|
On the forum there is a [prepackaged Win64 setup](http://forum.themaister.net/viewtopic.php?id=467) that includes everything you need to build RetroArch.
|
||||||
|
|
||||||
|
Then you can check out the source tree:
|
||||||
|
|
||||||
git clone git://github.com/Themaister/RetroArch.git
|
git clone git://github.com/Themaister/RetroArch.git
|
||||||
cd RetroArch
|
cd RetroArch
|
||||||
|
|
Loading…
Reference in New Issue