🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53066

Does gcc 2.0 hate sun3?

#53066
From: Richard B. Ralston
Date: Thu, 12 Mar 1992 08:44
53 lines
3013 bytes
I'm trying to build gcc 2.0 for a sun3 running SunOS 3.5 and on another
sun3 running 4.1.  gcc doesn't seem to compile on either, though the
problems differ.

On the sun3 running sunos3 I get:
cc -c    -g     -I. -I../gcc-2.0 -I../gcc-2.0/config ../gcc-2.0/emit-rtl.c
"../gcc-2.0/emit-rtl.c", line 2607: operands of + have incompatible types
"../gcc-2.0/emit-rtl.c", line 2607: illegal indirection
"../gcc-2.0/emit-rtl.c", line 2607: warning: illegal combination of pointer and integer, op =
*** Error code 1
make: Fatal error: Command failed for target `emit-rtl.o'
rich @ kintyre[114]: 

If it'll help, my faithful config.status file says:
# GCC was configured as follows:
#!/bin/sh
# GCC was configured as follows:
../gcc-2.0/configure --srcdir=../gcc-2.0 sun3-sunos3


On the sun3 running suno4 I get a little further.  The first make works, but
the stage1 make fails (how annoying!).  The error I get is:
stage1/gcc -c    -g -O -Bstage1/     -I. -I../gcc-2.0 -I../gcc-2.0/config ../gcc-2.0/cp-decl2.c
../gcc-2.0/cp-decl2.c: In function `grokfield':
../gcc-2.0/cp-decl2.c:898: `stderr' undeclared (first use this function)
../gcc-2.0/cp-decl2.c:898: (Each undeclared identifier is reported only once
../gcc-2.0/cp-decl2.c:898: for each function it appears in.)
../gcc-2.0/cp-decl2.c: In function `groktypefield':
../gcc-2.0/cp-decl2.c:1182: `stderr' undeclared (first use this function)
../gcc-2.0/cp-decl2.c: In function `grokoptypename':
../gcc-2.0/cp-decl2.c:1259: `stderr' undeclared (first use this function)
../gcc-2.0/cp-decl2.c: In function `constructor_name':
../gcc-2.0/cp-decl2.c:1486: `stderr' undeclared (first use this function)
../gcc-2.0/cp-decl2.c: In function `mark_inline_for_output':
../gcc-2.0/cp-decl2.c:1534: `stderr' undeclared (first use this function)
../gcc-2.0/cp-decl2.c: In function `finish_file':
../gcc-2.0/cp-decl2.c:2190: `stderr' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `cp-decl2.o'
rich @ kintyre[122]: 

Anybody have any clues as to what I'm doing wrong?  The build for
sun4-sunos4 went fine and I didn't do anything differently.

thanks for your help!

rich
--
Richard B. Ralston, G.E. Medical Systems, 16705 W. Lincoln Ave.,
New Berlin, WI  53201, NB-930, (414) 785-4284 (voice), (414) 785-4332 (fax)
rich@med.ge.com
Well, it's ok to murder babies/but we really ought to save the whales!
Technical Details
Message-ID: <RICH.92Mar12084419@kintyre.med.ge.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!news.mr.med.ge.com!rich

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,767de993f5e859e9,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-12 08:00:29 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!news.mr.med.ge.com!rich
From: rich@med.ge.com (Richard B. Ralston)
Subject: Does gcc 2.0 hate sun3?
Message-ID: <RICH.92Mar12084419@kintyre.med.ge.com>
Sender: news@mr.med.ge.com
Nntp-Posting-Host: kintyre
Reply-To: rich@med.ge.com
Organization: GE Medical Systems, Milwaukee, WI
Date: 12 Mar 92 08:44:19