Help with gcc under ISC 2.2
Geraldo Veiga
ilan343 at violet.berkeley.edu
Tue Dec 18 06:05:25 AEST 1990
I am trying to compile gcc 1.37.1 under ISC 2.2 using cc.
Can anyone that has already done this give me a hint of where I went
wrong? I am using Bison 1.11. Thanks in advance.
Here is a rundown of what happened:
1. Change Makefile:
CLIB= -lPW
2. Change stddef.h:
Replace _T_SIZE for _SIZE_T which doesn't match the constant defined
in` ISC's <sys/types.h> (Is this a bug? Which one is standard?)
3. Run config.gcc i386-sysv
4. Run make. Everything went fine, except for the following message:
make hard-params
cp ./hard-params.c . > /dev/null 2>&1
*** Error code 2 (ignored)
cc -DNO_SC -c hard-params.c
5. Where is `README-ENCAP'? I didn't do anything about COFF. Do I have
to?
6. Run make stage1.
7. Run make CC=stage1/gcc CFLAGS="-g -O -Bstage1/ -msoft-float"
Terminated in error.
/usr/include/sys/stat.h:97: parse error before `mode_t'
Here's the output for the last make:
touch stamp-gnulib2
stage1/gcc -g -O -Bstage1/ -I. -I. -I./config \
-DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
-DSTANDARD_EXEC_PREFIX=\"/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 -lPW
mv gccnew gcc
stage1/gcc -g -O -Bstage1/ -I. -I. -I./config -c ./c-parse.tab.c
stage1/gcc -c -g -O -Bstage1/ -I. -I. -I./config c-decl.c
stage1/gcc -c -g -O -Bstage1/ -I. -I. -I./config c-typeck.c
stage1/gcc -c -g -O -Bstage1/ -I. -I. -I./config c-convert.c
stage1/gcc -c -g -O -Bstage1/ -I. -I. -I./config toplev.c
In file included from toplev.c:32:
/usr/include/sys/stat.h:95: parse error before `mode_t'
/usr/include/sys/stat.h:97: parse error before `mode_t'
/usr/include/sys/stat.h:98: parse error before `mode_t'
*** Error code 1
Stop.
More information about the Comp.unix.sysv386
mailing list