2001/herrmann2 requires 32-bit to work completely
By instinct I suspected that the reason it did not work fully (some invocations do work) is that it's being compiled as 64-bit. This proved to be the case: 32-bit works in full. Thus make alt now compiles it as 64-bit and the default compiles it as 32-bit. To prevent making the Makefile more complicated for the default (not the alt) target we add -m32 and the alt does not do anything special. Updated bugs.md as the bug status and other information about it has obviously changed. Same with README.md. Updated .gitignore.
This commit is contained in:
1 parent
f3cf06eb85
commit
e44a1ec7a5
5 files changed
+183
-124
No files matched your search
@@ -114,8 +114,8 @@ OBJ= ${PROG}.o
|
||||
DATA= herrmann2.cup herrmann2.ioccc
|
||||
TARGET= ${PROG}
|
||||
#
|
||||
ALT_OBJ=
|
||||
ALT_TARGET=
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= ${PROG}.alt
|
||||
|
||||
|
||||
#################
|
||||
@@ -130,13 +130,16 @@ all: data ${TARGET}
|
||||
supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
${CC} ${CFLAGS} -m32 $< -o $@ ${LIBS}
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
${ALT_TARGET}: herrmann2.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
|
||||
Reference in new issue
Block a user