Difference between revisions of "Compiling using MSYS"
From OdaWiki
m (Compiling using MinGW moved to Compiling using MSYS) |
(→Step 2: Setting up the Compiler) |
||
Line 17: | Line 17: | ||
Download all of them and extract them to C:\mingw. If you're using Windows and don't have an archiver capable of handling tar.gz files, stop living in the stone age and download [http://www.7-zip.org/ 7-Zip]. If you are compiling ODAMEX for the purpose of debugging, grab gdb as well. | Download all of them and extract them to C:\mingw. If you're using Windows and don't have an archiver capable of handling tar.gz files, stop living in the stone age and download [http://www.7-zip.org/ 7-Zip]. If you are compiling ODAMEX for the purpose of debugging, grab gdb as well. | ||
+ | |||
+ | ==Step 3: Set up PATH variable== | ||
+ | Now, we need to set up our PATH environment variable to contain the path to the compiler. Without this, the makefile will not be able to find the compiler. How to set up your PATH variable depends on what operating system you're using. | ||
+ | ===Windows 2000/XP=== | ||
+ | * Right click on My Computer and click Properties... | ||
+ | * Click on the Advanced tab, and then the button that says Environment Variables | ||
+ | * Under the System Variables section, scroll through the variables and double-click the variable named Path | ||
+ | * Copy paste the following onto the end of the Variable Value. | ||
+ | <pre>;C:\MinGW\bin\</pre> | ||
+ | * OK your way out of all dialog boxes. | ||
+ | ===Windows 9x/Me=== | ||
==Step 3: Required Libraries== | ==Step 3: Required Libraries== |