Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!ucsd!ucbvax!agate!violet.berkeley.edu!ilan343 From: ilan343@violet.berkeley.edu (Geraldo Veiga) Newsgroups: comp.unix.sysv386 Subject: Help with gcc under ISC 2.2 Message-ID: <1990Dec17.190525.16868@agate.berkeley.edu> Date: 17 Dec 90 19:05:25 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator) Distribution: usa Organization: University of California, Berkeley Lines: 57 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 (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.