🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #711

Re: Help ! Compiling GCC 2.3.2 with GCC 2.0.2 under Solaris 2.0

#711
From: Casper H.S. Dik
Date: Sat, 26 Dec 1992 11:39
25 lines
1617 bytes
kkaempf@didymus.rmi.de (Klaus Kaempf) writes:

>I'm trying to install GCC 2.3.2 on a Sparc 2 running Solaris 2.0.
>I have the Cygnus port of GCC 2.0.2 (taken from the Prime Time
>Freeware CD, Vol 1, No 2b, July 92) up and running on the system,
>but without the GNU assembler.
>Compiling GCC 2.3.2 stops at the file term.c where the Solaris Assembler
>(the one in /usr/ccs/bin/as) finds several
>  'expressions involving an external symbol'
>which it can't compute. I haven't tried porting GAS yet, fearing it could
>encounter the same error. Now I'm asking the net, what is the right approach
>to get GCC 2.3.2 running on Solaris 2.0 ??

I had the same problem on Solaris 2.1. Inspecting the generated assembly
file I concluded that the error the assembler complained about
was in the .stab[sn] entries, the debugging information.
(I didn't take time to see whether this was cygnus-2.0.2's fault
or a bug in /usr/ccs/bin/as)

I proceeded to build gcc 2.3.2 with cygnus-2.0.2 by compiling
without -g. (I.e., make CFLAGS= or CFLAGS=-O)

The build completed without any further problems.

Casper
Technical Details
Message-ID: <1992Dec26.113953.1774@fwi.uva.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!fwi.uva.nl!casper
References: <Bz58M3.KCz@didymus.rmi.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!fwi.uva.nl!casper
From: casper@fwi.uva.nl (Casper H.S. Dik)
Newsgroups: gnu.gcc.help
Subject: Re: Help ! Compiling GCC 2.3.2 with GCC 2.0.2 under Solaris 2.0
Keywords: GCC 2.3.2, GCC 2.0.2, Solaris 2.0
Message-ID: <1992Dec26.113953.1774@fwi.uva.nl>
Date: 26 Dec 92 11:39:53 GMT
References: <Bz58M3.KCz@didymus.rmi.de>
Sender: news@fwi.uva.nl
Organization: FWI, University of Amsterdam
Lines: 25
Nntp-Posting-Host: adam.fwi.uva.nl