This commit is contained in:
nhmall
2026-04-26 11:08:10 -04:00
parent ab730b70da
commit 3cb7bfc0b3
7 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -61,7 +61,7 @@ II. There once was a time when people built NetHack right on their DOS machine.
sys/msdos/fetch-cross-compiler.sh
That script won't install anything, it just does file fetches and stores
them in subfolders of lib. The linux.370 and macOS.370 hints files are
them in subfolders of lib. The linux.500 and macOS.500 hints files are
configured to find the cross-compiler there if you add
CROSS_TO_MSDOS=1
on your make command line.
@@ -72,12 +72,12 @@ II. There once was a time when people built NetHack right on their DOS machine.
On your linux host:
cd sys/unix ; sh setup.sh hints/linux.370 ; cd ../..
cd sys/unix ; sh setup.sh hints/linux.500 ; cd ../..
make fetch-lua
On your macOS host:
cd sys/unix ; sh setup.sh hints/macOS.370 ; cd ../..
cd sys/unix ; sh setup.sh hints/macOS.500 ; cd ../..
make fetch-lua
The MSDOS cross-compile can then be carried out by specifying
+2 -2
View File
@@ -34,13 +34,13 @@ if [ "$(uname)" = "Darwin" ]; then
#Mac
DJGPP_FILE="djgpp-osx-$GCCVER.tar.bz2"
if [ -z "HINTS" ]; then
export HINTS=macOS.370
export HINTS=macOS.500
fi
elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then
#Linux
DJGPP_FILE="djgpp-linux64-$GCCVER.tar.bz2"
if [ -z "$HINTS" ]; then
export HINTS=linux.370
export HINTS=linux.500
fi
elif [ "$(expr substr $(uname -s) 1 10)" = "MINGW32_NT" ]; then
#mingw