[gnu.gcc.bug] Installation of gcc-1.36 under NeXT OS 1.0

bates@STAT.WISC.EDU (10/28/89)

I am using a NeXT running version 1.0 of their operating system.  I
set up gcc-1.36 with

config.gcc next

There are problems with the construction 

#ifdef __GNUC__
__inline
#endif

in c-parse.y

waubesa# bison c-parse.y -o c-parse.tab.c
waubesa# cc -v -c -g -O -I. -I./config c-parse.tab.c
NeXT version 16 (GNU version 1.34)
 /lib/cpp-16 -v -I. -I./config -D__GNU__ -D__GNUC__ -Dmc68000 -DNeXT -Dunix -D__MACH__ -D__OPTIMIZE__ c-parse.tab.c /tmp/cc002958.cpp
NeXT CPP version 16(GNU version 1.34)
 /lib/cc1-16 /tmp/cc002958.cpp -quiet -dumpbase c-parse.tab.c -g -O -version -o /tmp/cc002958.s
GNU C version 1.34 (68k, MIT syntax) compiled by GNU C version 1.34.
c-parse.y:1423: parse error before `static'
c-parse.y:1476: parse error before `struct'
waubesa# 

If I remove the __inline's I can get a stage1 made but when I try to
recompile the compiler, there are problems with the LINK_SPEC in
config/tm-next.h

#define LINK_SPEC "${Z} %{M} %{Mach} %{segcreate*} %{seglinkedit}"

The result is

make -k CC=stage1/gcc CFLAGS="-g -O -v -Bstage1/"
...
 stage1/cpp -v -I. -I. -I./config -undef -D__GNUC__ -Dmc68000 -DNeXT -Dunix -D__MACH__ -D__mc68000__ -D__NeXT__ -D__unix__ -D____MACH____ -D__OPTIMIZE__ obstack.c /usr/tmp/cc003413.cpp
GNU CPP version 1.36
 stage1/cc1 /usr/tmp/cc003413.cpp -quiet -dumpbase obstack.c -g -O -version -o /usr/tmp/cc003413.s
GNU C version 1.36 (68k, MIT syntax) compiled by GNU C version 1.34.
default target switches: -m68020 -mc68020 -m68881 -mbitfield
 as -o obstack.o /usr/tmp/cc003413.s
stage1/gcc -g -O -v -Bstage1/  -o gccnew gcc.o version.o obstack.o   
gcc version 1.36
 ld -o gccnew ${Z} -lcrt0.o gcc.o version.o obstack.o stage1/gnulib -lg -lc
ld: Can't open file: ${Z} (No such file or directory)
*** Exit 1