These are hints. There are no guarantees, and you are encouraged to make alterations according to your own taste. Feel free to suggest additions or modifications to this page.
smake -f protoMakefile "CC=sc NOVER NOICON ANSI STRCONS
PARM R STRICT DEF _STRICT_ANSI CPU ANY OPT DEF DONTFREE CSRC"
"LINK1=sc LINK NOVER NOICON STRT cres OBJ" "LINK2=PNAME" "RM=delete"
"JUNK=par.lnk"
(You may want to replace CPU ANY
with CPU
68040
, or whatever.)
make -f protoMakefile CC="gcc -c -ansi -pedantic -O
-DDONTFREE" LINK1="gcc -s"
make -f protoMakefile CC="gcc -c -ansi -pedantic -O3
-DDONTFREE" LINK1="gcc -s"
make -f protoMakefile CC="cc -c -O2 -DDONTFREE" LINK1="cc
-s"
make -f protoMakefile CC="cc -c -g0 -O2 -check -DDONTFREE"
LINK1="cc -s"
make -f protoMakefile CC="gcc -c -ansi -pedantic -O3
-DDONTFREE -DEXIT_FAILURE=1 -DEXIT_SUCCESS=0" LINK1="gcc -s"
make -f protoMakefile CC="gcc -c -ansi -pedantic -O3
-DDONTFREE" LINK1="gcc -s"
make -f protoMakefile CC="cc -c -Xc -O -DDONTFREE" LINK1="cc
-s"
#include
<malloc.h>
to reformat.c. If that's true,
the compiler does not conform to the ANSI C standard.
Thanks for suggestions from:
|