Get 2005/giljade to work

I've discovered that this entry has to have the optimiser disabled and
it also requires 32 bit. I believe the 32-bit is to do with the many
bitwise operations but the size of the ints are different. This is just
a hunch though from what I saw earlier when debugging it. The fact it's
32-bit only (at this time?) means it won't easily compile under macOS as
Apple has made it hard to compile 32-bit programs.

It might be possible to change the size of the ints to fix this problem
but it of course could also be entirely true that I'm wrong here. I've
not added this to the bugs file but perhaps it should be added.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-23 09:52:42 -07:00
1 parent e23d8e6e68
commit 95657e1b96
2 files changed
+16 -3

No files matched your search

+4 -3
View File
@@ -92,7 +92,7 @@ CSTD= -std=gnu99
#
# By default we assume nothing:
#
ARCH=
ARCH= -m32
# Defines that are needed to compile
#
@@ -101,7 +101,7 @@ CDEFINE=
# Include files that are needed to compile
#
CINCLUDE=
CINCLUDE= -include stdio.h
#CINCLUDE= -include stdlib.h
#CINCLUDE= -include stdio.h
#CINCLUDE= -include stdlib.h -include stdio.h
@@ -119,7 +119,7 @@ CINCLUDE=
#OPT= -O
#OPT= -O1
#OPT= -O2
OPT= -O3
OPT=
# Default flags for ANSI C compilation
#
@@ -188,6 +188,7 @@ all: data ${TARGET}
supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c
@echo "NOTE: this entry requires 32-bit architecture in order to run properly"
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable