diff --git a/sys/windows/build-msys2.txt b/sys/windows/build-msys2.txt index 3676b2679..c9efc6859 100644 --- a/sys/windows/build-msys2.txt +++ b/sys/windows/build-msys2.txt @@ -4,30 +4,16 @@ Prerequisite Requirements: o MSYS2 - https://www.msys2.org/ - - Download the installer, and start the UCRT64 shell. + - Download and run the installer, and start the UCRT64 shell. then pacman -S mingw-w64-ucrt-x86_64-gcc pacman -S git + pacman -S make pacman -S vim (or your editor of choice) pacman -S man (otherwise "git help foo" will not work) o Lua - NetHack 3.7 for Windows requires 3rd party Lua source that is not part - of the NetHack distribution or repository. - - A windows cmd command procedure for fetching prerequisite sources - is available, and can be run as follows from the top of the - NetHack source tree to obtain lua: - sys\windows\fetch.cmd lua o pdcursesmod (Only required if curses interface support is desired) - If you want to include curses interface support in NetHack 3.7 for - 3rd part pdcursesmod source code is required and is not part of the - NetHack distribution or repository. - - A windows cmd command procedure for fetching prerequisite - sources is available, and can be run as follows from the top of - the NetHack source tree to obtain pdcursesmod: - sys\windows\fetch.cmd pdcursesmod - + Instructions for obtaining these are later in this file. /---------------------------------------------\ | Directories for a Windows NetHack build | @@ -81,23 +67,22 @@ Building Two different versions of NetHack will be built for Windows from the command line using the Makefile approach: A tty port utilizing the Win32 Console I/O subsystem Console, - and a curses interface in an executabled called NetHack.exe. - NetHack + and a curses interface in an executable called NetHack.exe. + A Win32 native port built on the Windows API Graphical NetHack, and graphical curses in an executable called NetHackW.exe. -The Makefile configurations will build both; NetHack.exe and NetHackW.exe +The Makefile configurations will build both NetHack.exe and NetHackW.exe and will be able to use the same datafiles, save files and bones files. Since the last official release of NetHack, compilers and computer architectures have evolved and you can now choose whether to build a 32-bit x86 version, or a 64-bit x64 version. The default Makefile is set up for a 32-bit x86 version, but that's only because it will -run on the most number of existing Windows environments. Change it if you +run on the largest number of existing Windows environments. Change it if you want. Be aware that NetHack's save files and bones files in the 3.7.0 -release have not yet evolved enough to allow them to interchange between -the 32-bit version and the 64-bit version (or between different platforms). -That may change in future. +release are not interchangeable between the 32-bit version and the +64-bit version (or between different platforms). I. Dispelling the Myths: @@ -147,7 +132,7 @@ Notes: 1. To rebuild NetHack after changing something, change your current directory to src and issue the appropriate command for your compiler: - For Microsoft compiler: + For gcc: make -f Makefile.mingw32 2. An alternative to MSYS2 may be MinGW-w64 - winlibs standalone build.