hints updates

move out-of-date hints files to the outdated folder.

rename the hints files, and hints/include files that are currently
named *.2020 to *.370 (next release number).
This commit is contained in:
nhmall
2021-12-30 16:46:07 -05:00
parent f0d971fc2a
commit 7a44b3b52e
27 changed files with 56 additions and 56 deletions

View File

@@ -468,7 +468,7 @@ Cross-compiler pre-built binary downloads:
sh sys/msdos/fetch-cross-compiler.sh sh sys/msdos/fetch-cross-compiler.sh
That script won't install anything, it just does file fetches and stores That script won't install anything, it just does file fetches and stores
them in subfolders of lib. The linux.2020 and macOS.2020 hints files are them in subfolders of lib. The linux.370 and macOS.370 hints files are
configured to find the cross-compiler there if you add configured to find the cross-compiler there if you add
CROSS_TO_MSDOS=1 CROSS_TO_MSDOS=1
on your make command line. on your make command line.
@@ -479,12 +479,12 @@ Cross-compiler pre-built binary downloads:
On your linux host: On your linux host:
cd sys/unix ; sh setup.sh hints/linux.2020 ; cd ../.. cd sys/unix ; sh setup.sh hints/linux.370 ; cd ../..
make fetch-lua make fetch-lua
On your macOS host: On your macOS host:
cd sys/unix ; sh setup.sh hints/macOS.2020 ; cd ../.. cd sys/unix ; sh setup.sh hints/macOS.370 ; cd ../..
make fetch-lua make fetch-lua
The MSDOS cross-compile can then be carried out by specifying The MSDOS cross-compile can then be carried out by specifying
@@ -563,12 +563,12 @@ Cross-compiler url: https://github.com/bebbo/amiga-gcc
On your linux host: On your linux host:
cd sys/unix ; sh setup.sh hints/linux.2020 ; cd ../.. cd sys/unix ; sh setup.sh hints/linux.370 ; cd ../..
make fetch-lua make fetch-lua
On your macOS host: On your macOS host:
cd sys/unix ; sh setup.sh hints/macOS.2020 ; cd ../.. cd sys/unix ; sh setup.sh hints/macOS.370 ; cd ../..
make fetch-lua make fetch-lua
The Amiga cross-compile can then be carried out by specifying The Amiga cross-compile can then be carried out by specifying
@@ -657,12 +657,12 @@ Cross-compiler url: https://emscripten.org/docs/getting_started/downloads.html
On your linux host, prepare to cross-compile NetHack as follows: On your linux host, prepare to cross-compile NetHack as follows:
cd sys/unix ; sh setup.sh hints/linux.2020 ; cd ../.. cd sys/unix ; sh setup.sh hints/linux.370 ; cd ../..
make fetch-lua make fetch-lua
On your macOS host, prepare to cross-compile NetHack as follows: On your macOS host, prepare to cross-compile NetHack as follows:
cd sys/unix ; sh setup.sh hints/macOS.2020 ; cd ../.. cd sys/unix ; sh setup.sh hints/macOS.370 ; cd ../..
make fetch-lua make fetch-lua
Then, cross-compile to targets/wasm as follows: Then, cross-compile to targets/wasm as follows:
@@ -685,7 +685,7 @@ Cross-compiler url: https://emscripten.org/docs/getting_started/downloads.html
The cross-compiler hints additions are enclosed inside ifdef sections The cross-compiler hints additions are enclosed inside ifdef sections
and shouldn't interfere with the non-cross-compile builds using and shouldn't interfere with the non-cross-compile builds using
hints/linux.2020 or hints/macOS.2020. hints/linux.370 or hints/macOS.370.
--- ---

View File

@@ -154,7 +154,7 @@ steps:
- bash: | - bash: |
cd sys/unix cd sys/unix
sh setup.sh hints/linux.2020 sh setup.sh hints/linux.370
cd ../.. cd ../..
make fetch-lua make fetch-lua
make WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc all make WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc all
@@ -193,7 +193,7 @@ steps:
- bash: | - bash: |
cd sys/unix cd sys/unix
sh setup.sh hints/macos.2020 sh setup.sh hints/macos.370
cd ../.. cd ../..
make fetch-lua make fetch-lua
make all make all
@@ -204,7 +204,7 @@ steps:
- bash: | - bash: |
export GCCVER=gcc1020 export GCCVER=gcc1020
cd sys/unix cd sys/unix
sh setup.sh hints/linux.2020 sh setup.sh hints/linux.370
cd ../.. cd ../..
make fetch-lua make fetch-lua
sh sys/msdos/fetch-cross-compiler.sh sh sys/msdos/fetch-cross-compiler.sh

View File

@@ -3,7 +3,7 @@ matrix:
include: include:
- name: linux-xenial-gcc-win-all - name: linux-xenial-gcc-win-all
os: linux os: linux
env: HINTS=linux.2020 LUA_VERSION=5.4.3 env: HINTS=linux.370 LUA_VERSION=5.4.3
compiler: gcc compiler: gcc
addons: addons:
apt: apt:
@@ -21,7 +21,7 @@ matrix:
- make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install - make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install
- name: linux-bionic-gcc-win-all - name: linux-bionic-gcc-win-all
os: linux os: linux
env: HINTS=linux.2020 LUA_VERSION=5.4.3 env: HINTS=linux.370 LUA_VERSION=5.4.3
dist: bionic dist: bionic
compiler: gcc compiler: gcc
addons: addons:
@@ -40,7 +40,7 @@ matrix:
- make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install - make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install
- name: linux-focal-clang-win-all - name: linux-focal-clang-win-all
os: linux os: linux
env: HINTS=linux.2020 LUA_VERSION=5.4.3 env: HINTS=linux.370 LUA_VERSION=5.4.3
dist: focal dist: focal
compiler: clang compiler: clang
addons: addons:
@@ -59,7 +59,7 @@ matrix:
- make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install - make LUA_VERSION=$LUA_VERSION WANT_WIN_ALL=1 QT_SELECT=5 MOC=moc install
- name: linux-xenial-gcc-nocommon - name: linux-xenial-gcc-nocommon
os: linux os: linux
env: HINTS=linux.2020 LUA_VERSION=5.4.3 env: HINTS=linux.370 LUA_VERSION=5.4.3
dist: xenial dist: xenial
compiler: gcc compiler: gcc
script: script:
@@ -70,7 +70,7 @@ matrix:
- make install - make install
- name: linux-focal-gcc9-win-all - name: linux-focal-gcc9-win-all
os: linux os: linux
env: HINTS=linux.2020 LUA_VERSION=5.4.3 env: HINTS=linux.370 LUA_VERSION=5.4.3
dist: focal dist: focal
compiler: gcc compiler: gcc
addons: addons:
@@ -138,7 +138,7 @@ matrix:
- mingw32-make LUA_VERSION=$LUA_VERSION install - mingw32-make LUA_VERSION=$LUA_VERSION install
- name: msdos-linux-focal-djgpp-crosscompile - name: msdos-linux-focal-djgpp-crosscompile
os: linux os: linux
env: HINTS=linux.2020 LUA_VERSION=5.4.3 env: HINTS=linux.370 LUA_VERSION=5.4.3
dist: focal dist: focal
compiler: gcc compiler: gcc
script: script:

View File

@@ -12,14 +12,14 @@ Generally the build is the same as the unix build:
[Edit Oct 4, 2020: Use the existing Makefile and hints, hints/include system for cross-compiles] [Edit Oct 4, 2020: Use the existing Makefile and hints, hints/include system for cross-compiles]
1. `cd sys/unix` 1. `cd sys/unix`
2. `./setup.sh hints/macOS.2020` 2. `./setup.sh hints/macOS.370`
3. `cd ../..` 3. `cd ../..`
4. For `libnethack.a`: `make WANT_LIBNH=1 all` 4. For `libnethack.a`: `make WANT_LIBNH=1 all`
5. For `nethack.js`: `make CROSS_TO_WASM=1 all` 5. For `nethack.js`: `make CROSS_TO_WASM=1 all`
[Original text was:] [Original text was:]
1. `cd sys/lib` 1. `cd sys/lib`
2. For `libnethack.a`: `./setup.sh hints/macOS.2020`; for `nethack.js`: `./setup.sh hints/wasm` 2. For `libnethack.a`: `./setup.sh hints/macOS.370`; for `nethack.js`: `./setup.sh hints/wasm`
3. `cd ../..` 3. `cd ../..`
4. `make` 4. `make`

View File

@@ -6,7 +6,7 @@ if [ x$1 == "xlib" ]; then
make spotless make spotless
fi fi
cd sys/unix cd sys/unix
./setup.sh hints/macOS.2020 ./setup.sh hints/macOS.370
cd ../.. cd ../..
make WANT_LIBNH=1 make WANT_LIBNH=1
fi fi
@@ -25,7 +25,7 @@ if [ x$1 == "xwasm" ]; then
make spotless make spotless
fi fi
cd sys/unix cd sys/unix
./setup.sh hints/macOS.2020 ./setup.sh hints/macOS.370
cd ../.. cd ../..
make CROSS_TO_WASM=1 make CROSS_TO_WASM=1
fi fi
@@ -38,7 +38,7 @@ if [ x$1 == "xbin" ]; then
echo Doing bin... echo Doing bin...
make spotless make spotless
cd sys/unix cd sys/unix
./setup.sh hints/macOS.2020 ./setup.sh hints/macOS.370
cd ../.. cd ../..
make make
fi fi

View File

@@ -51,7 +51,7 @@ II. There once was a time when people built NetHack right on their DOS machine.
sh sys/msdos/fetch-cross-compiler.sh sh sys/msdos/fetch-cross-compiler.sh
That script won't install anything, it just does file fetches and stores That script won't install anything, it just does file fetches and stores
them in subfolders of lib. The linux.2020 and macOS.2020 hints files are them in subfolders of lib. The linux.370 and macOS.370 hints files are
configured to find the cross-compiler there if you add configured to find the cross-compiler there if you add
CROSS_TO_MSDOS=1 CROSS_TO_MSDOS=1
on your make command line. on your make command line.
@@ -62,12 +62,12 @@ II. There once was a time when people built NetHack right on their DOS machine.
On your linux host: On your linux host:
cd sys/unix ; sh setup.sh hints/linux.2020 ; cd ../.. cd sys/unix ; sh setup.sh hints/linux.370 ; cd ../..
make fetch-lua make fetch-lua
On your macOS host: On your macOS host:
cd sys/unix ; sh setup.sh hints/macOS.2020 ; cd ../.. cd sys/unix ; sh setup.sh hints/macOS.370 ; cd ../..
make fetch-lua make fetch-lua
The MSDOS cross-compile can then be carried out by specifying The MSDOS cross-compile can then be carried out by specifying

View File

@@ -27,13 +27,13 @@ if [ "$(uname)" = "Darwin" ]; then
#Mac #Mac
DJGPP_FILE="djgpp-osx-$GCCVER.tar.bz2" DJGPP_FILE="djgpp-osx-$GCCVER.tar.bz2"
if [ -z "HINTS" ]; then if [ -z "HINTS" ]; then
export HINTS=macOS.2020 export HINTS=macOS.370
fi fi
elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then
#Linux #Linux
DJGPP_FILE="djgpp-linux64-$GCCVER.tar.bz2" DJGPP_FILE="djgpp-linux64-$GCCVER.tar.bz2"
if [ -z "$HINTS" ]; then if [ -z "$HINTS" ]; then
export HINTS=linux.2020 export HINTS=linux.370
fi fi
elif [ "$(expr substr $(uname -s) 1 10)" = "MINGW32_NT" ]; then elif [ "$(expr substr $(uname -s) 1 10)" = "MINGW32_NT" ]; then
#mingw #mingw

View File

@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# NetHack 3.7 compiler.2020 $NHDT-Date: 1637992237 2021/11/27 05:50:37 $ $NHDT-Branch: NetHack-3.7 $ # NetHack 3.7 compiler.370 $NHDT-Date: 1637992237 2021/11/27 05:50:37 $ $NHDT-Branch: NetHack-3.7 $
# compiler flags: CCFLAGS is used to construct a value for CFLAGS with # compiler flags: CCFLAGS is used to construct a value for CFLAGS with
# various -I, -D, and -W settings appended below; # various -I, -D, and -W settings appended below;
@@ -106,5 +106,5 @@ endif # clang-specific ends here
CFLAGS+=-DGCC_WARN CFLAGS+=-DGCC_WARN
CCXXFLAGS+=-DGCC_WARN CCXXFLAGS+=-DGCC_WARN
#end of compiler.2020 #end of compiler.370
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@@ -260,7 +260,7 @@ WASM_CFLAGS += -Wshadow
# WASM_CFLAGS += -Wwrite-strings # WASM_CFLAGS += -Wwrite-strings
# WASM_CFLAGS += -Werror # WASM_CFLAGS += -Werror
# Nethack C flags # Nethack C flags
WASM_CFLAGS += $(WINCFLAGS) #WINCFLAGS set from multiw-2.2020 WASM_CFLAGS += $(WINCFLAGS) #WINCFLAGS set from multiw-2.370
WASM_CFLAGS += -DSYSCF -DSYSCF_FILE=\"/sysconf\" -DSECURE WASM_CFLAGS += -DSYSCF -DSYSCF_FILE=\"/sysconf\" -DSECURE
WASM_CFLAGS += -g -I../include -DNOTPARMDECL WASM_CFLAGS += -g -I../include -DNOTPARMDECL
WASM_CFLAGS += -DGCC_WARN WASM_CFLAGS += -DGCC_WARN

View File

@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# NetHack 3.7 multiw-1.2020 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $ # NetHack 3.7 multiw-1.370 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
# 1. Which windowing interface(s) should be included in this binary? # 1. Which windowing interface(s) should be included in this binary?
# One or more of these can be manually uncommented and/or can be specified # One or more of these can be manually uncommented and/or can be specified
@@ -19,5 +19,5 @@
#WANT_DEFAULT=Qt #WANT_DEFAULT=Qt
#WANT_DEFAULT=X11 #WANT_DEFAULT=X11
#end of multiw-1.2020 #end of multiw-1.370
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@@ -1,11 +1,11 @@
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# NetHack 3.7 multiw-2.2020 $NHDT-Date: 1599337709 2020/09/05 20:28:29 $ $NHDT-Branch: NetHack-3.7 $ # NetHack 3.7 multiw-2.370 $NHDT-Date: 1599337709 2020/09/05 20:28:29 $ $NHDT-Branch: NetHack-3.7 $
# #
# Sorts out support for multiple window ports (interfaces) to included in the build. # Sorts out support for multiple window ports (interfaces) to included in the build.
# #
# Included from: # Included from:
# hints/linux.2020 # hints/linux.370
# hints/macOS.2020 # hints/macOS.370
# #
# The following will be set appropriately following this: # The following will be set appropriately following this:
# - WANT_WIN_XXX (at least one will be set; default is TTY) # - WANT_WIN_XXX (at least one will be set; default is TTY)
@@ -104,6 +104,6 @@ WINSRC += $(WINQTSRC)
WINOBJ0 += $(WINQTOBJ) WINOBJ0 += $(WINQTOBJ)
endif endif
#end of hints/include/multiw-2.2020 #end of hints/include/multiw-2.370
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@@ -1,4 +1,4 @@
# NetHack 3.7 linux.2020 $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $ # NetHack 3.7 linux.370 $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007. # Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
# NetHack may be freely redistributed. See license for details. # NetHack may be freely redistributed. See license for details.
# #
@@ -13,12 +13,12 @@
# #
#-PRE #-PRE
# linux.2020 hints file provides a single-user build for Linux (such # linux.370 hints file provides a single-user build for Linux (such
# as Ubuntu focal). # as Ubuntu focal).
# note: '#-INCLUDE' is not just a comment # note: '#-INCLUDE' is not just a comment
# multiw-1.2020 contains sections 1 to 2 # multiw-1.370 contains sections 1 to 2
#-INCLUDE multiw-1.2020 #-INCLUDE multiw-1.370
# 3. If you set WANT_WIN_QT, you need to # 3. If you set WANT_WIN_QT, you need to
# A) set QTDIR either here or in the environment to point to the Qt5 # A) set QTDIR either here or in the environment to point to the Qt5
@@ -67,12 +67,12 @@ GAMEGRP = games
# you're reading this in Makefile augmented by hints, that may not be true). # you're reading this in Makefile augmented by hints, that may not be true).
# #
#-INCLUDE multiw-2.2020 #-INCLUDE multiw-2.370
# compiler.2020 contains compiler detection and adjustments common # compiler.370 contains compiler detection and adjustments common
# to both linux and macOS # to both linux and macOS
#-INCLUDE compiler.2020 #-INCLUDE compiler.370
# NetHack sources control # NetHack sources control
NHCFLAGS+=-DDLB NHCFLAGS+=-DDLB
@@ -92,10 +92,10 @@ NHCFLAGS+=-DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
#NHCFLAGS+=-DTTY_TILES_ESCCODES #NHCFLAGS+=-DTTY_TILES_ESCCODES
#NHCFLAGS+=-DTTY_SOUND_ESCCODES #NHCFLAGS+=-DTTY_SOUND_ESCCODES
CFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.2020 CFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.370
CFLAGS+= $(NHCFLAGS) CFLAGS+= $(NHCFLAGS)
CCXXFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.2020 CCXXFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.370
CCXXFLAGS+= $(NHCFLAGS) CCXXFLAGS+= $(NHCFLAGS)
VARDATND = VARDATND =
@@ -226,11 +226,11 @@ VARDIRPERM = 0755
VARFILEPERM = 0600 VARFILEPERM = 0600
GAMEPERM = 0755 GAMEPERM = 0755
# #
#-INCLUDE cross-pre.2020 #-INCLUDE cross-pre.370
# #
#-POST #-POST
# #
#-INCLUDE cross-post.2020 #-INCLUDE cross-post.370
# #
ifdef WANT_LIBNH ifdef WANT_LIBNH
$(TARGETPFX)libnh.a: $(HOBJ) $(LIBNHSYSOBJ) ../lib/lua/liblua.a $(TARGETPFX)libnh.a: $(HOBJ) $(LIBNHSYSOBJ) ../lib/lua/liblua.a

View File

@@ -1,4 +1,4 @@
# NetHack 3.7 macOS.2020 $NHDT-Date: 1633401749 2021/10/05 02:42:29 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.88 $ # NetHack 3.7 macOS.370 $NHDT-Date: 1633401749 2021/10/05 02:42:29 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.88 $
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2015. # Copyright (c) Kenneth Lorber, Kensington, Maryland, 2015.
# NetHack may be freely redistributed. See license for details. # NetHack may be freely redistributed. See license for details.
# #
@@ -17,7 +17,7 @@
# #
# note: '#-INCLUDE' is not just a comment; multiw-1 contains sections 1 to 2 # note: '#-INCLUDE' is not just a comment; multiw-1 contains sections 1 to 2
#-INCLUDE multiw-1.2020 #-INCLUDE multiw-1.370
# 3. If you set WANT_WIN_QT, you need to # 3. If you set WANT_WIN_QT, you need to
# A) set QTDIR either here or in the environment to point to the Qt5 # A) set QTDIR either here or in the environment to point to the Qt5
@@ -68,12 +68,12 @@ endif
# you're reading this in Makefile augmented by hints, that may not be true). # you're reading this in Makefile augmented by hints, that may not be true).
# #
#-INCLUDE multiw-2.2020 #-INCLUDE multiw-2.370
# compiler.2020 contains compiler detection and adjustments common # compiler.370 contains compiler detection and adjustments common
# to both linux and macOS # to both linux and macOS
#-INCLUDE compiler.2020 #-INCLUDE compiler.370
# NetHack sources control # NetHack sources control
NHCFLAGS+=-DDLB NHCFLAGS+=-DDLB
@@ -93,10 +93,10 @@ NHCFLAGS+=-DNOMAIL
#NHCFLAGS+=-DTTY_TILES_ESCCODES #NHCFLAGS+=-DTTY_TILES_ESCCODES
#NHCFLAGS+=-DTTY_SOUND_ESCCODES #NHCFLAGS+=-DTTY_SOUND_ESCCODES
CFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.2020 CFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.370
CFLAGS+= $(NHCFLAGS) CFLAGS+= $(NHCFLAGS)
CCXXFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.2020 CCXXFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.370
CCXXFLAGS+= $(NHCFLAGS) CCXXFLAGS+= $(NHCFLAGS)
VARDATND = VARDATND =
@@ -300,7 +300,7 @@ VARDIR=$(HACKDIR)
# Install.Qt mentions a patch for macos - it's not there (it seems to be in the Qt binary # Install.Qt mentions a patch for macos - it's not there (it seems to be in the Qt binary
# package under the docs directory). # package under the docs directory).
# #
#-INCLUDE cross-pre.2020 #-INCLUDE cross-pre.370
# #
#-POST #-POST
@@ -495,5 +495,5 @@ endif # end of build_qt_pkg
endif # WANT_WIN_QT for packaging endif # WANT_WIN_QT for packaging
endif # MAKEFILE_TOP endif # MAKEFILE_TOP
# #
#-INCLUDE cross-post.2020 #-INCLUDE cross-post.370
# #