Add alt code for 1993/lmfjyh
Why? Because! :-) Updated .gitignore. Added the entry to bugs.md. Slightly modified the note in the Makefile so that the make all rule refers to make alt. The README.md file was updated including succinctly giving the gist (that might or might not be redundant :-) ) of the entry i.e. how it worked (though the author also stated this).
This commit is contained in:
1 parent
b55ecc55b3
commit
cfdbd0fef7
5 files changed
+48
-30
No files matched your search
@@ -111,8 +111,8 @@ OBJ= ${PROG}.o
|
||||
DATA=
|
||||
TARGET= ${PROG}
|
||||
#
|
||||
ALT_OBJ=
|
||||
ALT_TARGET=
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= ${PROG}.alt
|
||||
|
||||
|
||||
#################
|
||||
@@ -129,7 +129,8 @@ all: data ${TARGET}
|
||||
${PROG}: ${PROG}.c
|
||||
@echo "NOTE: This will not compile when using modern compilers because"
|
||||
@echo "it relies on a compiler bug which was fixed in gcc 2.3.3 (a very"
|
||||
@echo "long time ago now)."
|
||||
@echo "long time ago now). Try make alt for a version that works with gcc"
|
||||
@echo ">=2.3.3."
|
||||
${RM} -f \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
|
||||
${CP} lmfjyh.c \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
|
||||
${CC} ${CFLAGS} \
|
||||
|
||||
Reference in new issue
Block a user