- cd src
- cp ../sys/winnt/Makefile.gcc ./Makefile
- mingw32-make install
- - name: msdos-linuxhost-crosscompile
+ - name: msdos-linux-focal-djgpp-crosscompile
os: linux
env: HINTS=linux LUA_VERSION=5.4.0
+ dist: focal
compiler: gcc
script:
# - export
+# - export GCCVER=gcc550
+ - export GCCVER=gcc1010
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
- make fetch-lua
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
exit 1
fi
-DJGPP_URL="https://github.com/andrewwutw/build-djgpp/releases/download/v2.9/"
+#DJGPP_URL="https://github.com/andrewwutw/build-djgpp/releases/download/v2.9/"
+DJGPP_URL="https://github.com/andrewwutw/build-djgpp/releases/download/v3.0/"
if [ "$(uname)" = "Darwin" ]; then
#Mac
- DJGPP_FILE="djgpp-osx-gcc550.tar.bz2"
+ DJGPP_FILE="djgpp-osx-$GCCVER.tar.bz2"
elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then
#Linux
- DJGPP_FILE="djgpp-linux64-gcc550.tar.bz2"
+ DJGPP_FILE="djgpp-linux64-$GCCVER.tar.bz2"
elif [ "$(expr substr $(uname -s) 1 10)" = "MINGW32_NT" ]; then
#mingw
- DJGPP_FILE="djgpp-mingw-gcc550-standalone.zip"
+ DJGPP_FILE="djgpp-mingw-$GCCVER-standalone.zip"
else
echo "No DJGPP release for you, sorry."
exit 1