sfrank@orion.oac.uci.edu (Steven Frank) (01/10/90)
In an effort to get g++ running on the NeXT (OS v 1.0) I first tried
to get gcc-1.36 running. The following are the key points:
1. added -U__GNUC__ flag to all first round
compilations (NeXT defines this but doesn't live up).
2. these comments occurred during stage 1:
cp hard-params.c . > /dev/null 2>&1
*** Exit 1 (ignored)
cc -DNO_SC -c hard-params.c
hard-params.c: In function overflow:
hard-params.c:215: warning: argument passing between incompatible pointer types
hard-params.c: In function main:
hard-params.c:343: warning: argument passing between incompatible pointer types
cc hard-params.o -o hard-params
continued successfully after above
3. Failure in stage two:
fisher# make CC=stage1/gcc CFLAGS="-g -O -Bstage1/"
stage1/gcc -g -O -Bstage1/ -I. -I. -I./config
-DSTANDARD_STARTFILE_PREFIX=\"/gnu/usr/local/lib/\"
-DSTANDARD_EXEC_PREFIX=\"/gnu/usr/local/lib/gcc-\" -c
`echo ./gcc.c | sed 's,^\./,,'`
stage1/gcc -c -g -O -Bstage1/ -I. -I. -I./config version.c
stage1/gcc -c -g -O -Bstage1/ -I. -I. -I./config obstack.c
stage1/gcc -g -O -Bstage1/ -o gccnew gcc.o version.o obstack.o
ld: Can't open file: ${Z} (No such file or directory)
*** Exit 1
Stop.
------------
I was not able to determine what this error message from the
linker meant.
steve frank