🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54234

Help with gcc under ISC 2.2

#54234
From: Geraldo Veiga
Date: Mon, 17 Dec 1990 02:03
57 lines
2512 bytes
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.
Technical Details
Message-ID: <1990Dec17.020310.29075@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!agate!violet.berkeley.edu!ilan343

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,53ddef66b2ceb101,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1990-12-16 18:03:10 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!agate!violet.berkeley.edu!ilan343
From: ilan343@violet.berkeley.edu (Geraldo Veiga)
Newsgroups: gnu.gcc.help
Subject: Help with gcc under ISC 2.2
Message-ID: <1990Dec17.020310.29075@agate.berkeley.edu>
Date: 17 Dec 90 02:03:10 GMT
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Distribution: gnu
Organization: University of California, Berkeley
Lines: 57