msdos cross-compile djggp build now with gcc 10

Also updates the travis build to Ubuntu focal because of an
ar libfl.so.2 shared library load error on xenial that was
easier to just get away from by moving to focal.
This commit is contained in:
nhmall
2020-08-14 17:25:05 -04:00
parent aaf1d4d381
commit 83f8da2a17
2 changed files with 9 additions and 5 deletions
+4 -1
View File
@@ -135,12 +135,15 @@ matrix:
- cd src - cd src
- cp ../sys/winnt/Makefile.gcc ./Makefile - cp ../sys/winnt/Makefile.gcc ./Makefile
- mingw32-make install - mingw32-make install
- name: msdos-linuxhost-crosscompile - name: msdos-linux-focal-djgpp-crosscompile
os: linux os: linux
env: HINTS=linux LUA_VERSION=5.4.0 env: HINTS=linux LUA_VERSION=5.4.0
dist: focal
compiler: gcc compiler: gcc
script: script:
# - export # - export
# - export GCCVER=gcc550
- export GCCVER=gcc1010
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ - cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
- make fetch-lua - make fetch-lua
- test -d "lib/lua-$LUA_VERSION/src" || exit 0 - test -d "lib/lua-$LUA_VERSION/src" || exit 0
+5 -4
View File
@@ -12,16 +12,17 @@ if [ ! -d "$(pwd)/lib" ]; then
exit 1 exit 1
fi 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 if [ "$(uname)" = "Darwin" ]; then
#Mac #Mac
DJGPP_FILE="djgpp-osx-gcc550.tar.bz2" DJGPP_FILE="djgpp-osx-$GCCVER.tar.bz2"
elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then elif [ "$(expr substr $(uname -s) 1 5)" = "Linux" ]; then
#Linux #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 elif [ "$(expr substr $(uname -s) 1 10)" = "MINGW32_NT" ]; then
#mingw #mingw
DJGPP_FILE="djgpp-mingw-gcc550-standalone.zip" DJGPP_FILE="djgpp-mingw-$GCCVER-standalone.zip"
else else
echo "No DJGPP release for you, sorry." echo "No DJGPP release for you, sorry."
exit 1 exit 1