diff --git a/sys/msdos/fetch-cross-compiler.sh b/sys/msdos/fetch-cross-compiler.sh index df377a613..daa770927 100755 --- a/sys/msdos/fetch-cross-compiler.sh +++ b/sys/msdos/fetch-cross-compiler.sh @@ -135,6 +135,31 @@ if [ ! -d djgpp/djgpp-patch ]; then cd ../../ fi +# get a copy of symify to insert in the final zip package +# to make bug reports more useful +# curl --output djdev205.zip http://www.mirrorservice.org/sites/ftp.delorie.com/pub/djgpp/current/v2/djdev205.zip +if [ ! -d djgpp/symify ]; then + echo "Getting djdev205.zip" ; + cd djgpp + mkdir -p symify + cd symify + if [ "$(uname)" = "Darwin" ]; then + #Mac + curl --output djdev205.zip http://www.mirrorservice.org/sites/ftp.delorie.com/pub/djgpp/current/v2/djdev205.zip + export cmdstatus=$? + else + wget --quiet --no-hsts http://www.mirrorservice.org/sites/ftp.delorie.com/pub/djgpp/current/v2/djdev205.zip + export cmdstatus=$? + fi + ls -l + if [ $cmdstatus -eq 0 ]; then + echo "fetch of symify was successful" + fi + unzip -p djdev205.zip bin/symify.exe >./simify.exe + cd ../../ +fi + + FONT_VERSION="4.49" FONT_FILE="terminus-font-$FONT_VERSION" FONT_LFILE="$FONT_FILE.1" diff --git a/sys/unix/hints/include/cross-post.370 b/sys/unix/hints/include/cross-post.370 index c2ca507fd..17f44fdb7 100644 --- a/sys/unix/hints/include/cross-post.370 +++ b/sys/unix/hints/include/cross-post.370 @@ -65,6 +65,11 @@ dospkg: dodata dosfonts $(GAMEBIN) $(TARGETPFX)recover.exe ../dat/nhtiles.bmp cp $(DOSFONT)/ter-u28b.psf $(TARGETPFX)pkg/TER-U28B.PSF cp $(DOSFONT)/ter-u32b.psf $(TARGETPFX)pkg/TER-U32B.PSF cp ../lib/djgpp/cwsdpmi/bin/CWSDPMI.EXE $(TARGETPFX)pkg/CWSDPMI.EXE + ( if [ -f ../lib/djgpp/symify/simify.exe ]; then \ + cp ../lib/djgpp/symify/simify.exe $(TARGETPFX)pkg/SYMIFY.EXE; \ + else \ + pwd; echo "../lib/djgpp/symify/symify.exe not found"; \ + fi; ) -touch $(TARGETPFX)pkg/RECORD cd $(TARGETPFX)pkg ; zip -9 ../NH370DOS.ZIP * ; cd ../../.. @echo msdos package zip file $(TARGETPFX)NH370DOS.ZIP