Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
This commit is contained in:
+10
-25
@@ -4,30 +4,16 @@ Prerequisite Requirements:
|
|||||||
|
|
||||||
o MSYS2
|
o MSYS2
|
||||||
- https://www.msys2.org/
|
- https://www.msys2.org/
|
||||||
- Download the installer, and start the UCRT64 shell.
|
- Download and run the installer, and start the UCRT64 shell.
|
||||||
then
|
then
|
||||||
pacman -S mingw-w64-ucrt-x86_64-gcc
|
pacman -S mingw-w64-ucrt-x86_64-gcc
|
||||||
pacman -S git
|
pacman -S git
|
||||||
|
pacman -S make
|
||||||
pacman -S vim (or your editor of choice)
|
pacman -S vim (or your editor of choice)
|
||||||
pacman -S man (otherwise "git help foo" will not work)
|
pacman -S man (otherwise "git help foo" will not work)
|
||||||
o Lua
|
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)
|
o pdcursesmod (Only required if curses interface support is desired)
|
||||||
If you want to include curses interface support in NetHack 3.7 for
|
Instructions for obtaining these are later in this file.
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
/---------------------------------------------\
|
/---------------------------------------------\
|
||||||
| Directories for a Windows NetHack build |
|
| Directories for a Windows NetHack build |
|
||||||
@@ -81,23 +67,22 @@ Building
|
|||||||
Two different versions of NetHack will be built for Windows from the
|
Two different versions of NetHack will be built for Windows from the
|
||||||
command line using the Makefile approach:
|
command line using the Makefile approach:
|
||||||
A tty port utilizing the Win32 Console I/O subsystem Console,
|
A tty port utilizing the Win32 Console I/O subsystem Console,
|
||||||
and a curses interface in an executabled called NetHack.exe.
|
and a curses interface in an executable called NetHack.exe.
|
||||||
NetHack
|
|
||||||
A Win32 native port built on the Windows API Graphical NetHack,
|
A Win32 native port built on the Windows API Graphical NetHack,
|
||||||
and graphical curses in an executable called NetHackW.exe.
|
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.
|
and will be able to use the same datafiles, save files and bones files.
|
||||||
|
|
||||||
Since the last official release of NetHack, compilers and computer
|
Since the last official release of NetHack, compilers and computer
|
||||||
architectures have evolved and you can now choose whether to build
|
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
|
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
|
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
|
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
|
release are not interchangeable between the 32-bit version and the
|
||||||
the 32-bit version and the 64-bit version (or between different platforms).
|
64-bit version (or between different platforms).
|
||||||
That may change in future.
|
|
||||||
|
|
||||||
I. Dispelling the Myths:
|
I. Dispelling the Myths:
|
||||||
|
|
||||||
@@ -147,7 +132,7 @@ Notes:
|
|||||||
1. To rebuild NetHack after changing something, change your current directory
|
1. To rebuild NetHack after changing something, change your current directory
|
||||||
to src and issue the appropriate command for your compiler:
|
to src and issue the appropriate command for your compiler:
|
||||||
|
|
||||||
For Microsoft compiler:
|
For gcc:
|
||||||
make -f Makefile.mingw32
|
make -f Makefile.mingw32
|
||||||
|
|
||||||
2. An alternative to MSYS2 may be MinGW-w64 - winlibs standalone build.
|
2. An alternative to MSYS2 may be MinGW-w64 - winlibs standalone build.
|
||||||
|
|||||||
Reference in New Issue
Block a user