Compiling

Here is help on Compiling the NetHack's sources

On Windows
This was tested on Win2k.


 * Download NetHack's sources from http://nethack.org/v343/download-src.html


 * Download MinGW from http://sourceforge.net/project/showfiles.php?group_id=2435 (You want the MinGW-X.Y.Z.exe installer, currently it's MinGW-5.0.3.exe)


 * Download MinGW32-make from http://mingw.org/download.shtml


 * Install MinGW and MinGW32-Make. I used C:\mingw\ as the path to install to.


 * Unpack NetHack's sources somewhere; I used c:\nh343\. You will need WinZip or some other utility that can uncompress it.


 * Go to c:\nh343\sys\winnt\ and run nhsetup.bat

to GRAPHICAL=Y
 * If you want to run the graphical windows GUI, edit c:\mingw\nh343\src\makefile.gcc and change the line
 * 1) GRAPHICAL=Y

PATH=c:\mingw\bin cd src mingw32-make -f makefile.gcc install
 * Go to c:\nh343\ and create a new file called 'install.bat' with the following contents:


 * Run the install.bat you just created.


 * The NetHack binary should now be in c:\nh343\binary\</tt>