🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46472

Stage 2 make dies for gcc 2.6.2

#46472
From: David Mulcihy
Date: Wed, 16 Nov 1994 20:02
30 lines
1496 bytes
I am trying to build gcc 2.6.2 for SunOS 4.1.3 on a Sun SparcStation LX.
The first part of the compile made with the command

make LANGUAGES=c CFLAGS="-O"

seems to work. When I try to build stage 2 with the command

make CC="stage1/xgcc -Bstage1/" CFLAGS="-O" LANGUAGES=c

I get the following error messages.

ld: Undefined symbol
   ___main
*** Error code 2
make: Fatal error: Command failed for target `bi-opname'
Current working directory /usr1/local/gnu/gcc-2.6.2
*** Error code 1
make: Fatal error: Command failed for target 'stmp-multilib-sub'
Current working directory /usr1/local/gnu/gcc-2.6.2
*** Error code 1
make: Fatal error: Command failed for target `stmp-multilib'

I ran configure as follows:

configure --prefix=/usr1/local/gnu/local \
 --local-prefix=/usr1/local/gnu/local/include

Thanks for the help
David Mulcihy
mulcihy@pat.mdc.com
Technical Details
Message-ID: <3adogd$b19@killerbee.jsc.nasa.gov>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!caen!saimiri.primate.wisc.edu!ames!killerbee.jsc.nasa.gov!pat!mulcihy

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a34ce35a19ab9393,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-11-17 10:33:00 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!caen!saimiri.primate.wisc.edu!ames!killerbee.jsc.nasa.gov!pat!mulcihy
From: mulcihy@pat.mdc.com (David Mulcihy)
Newsgroups: gnu.gcc.help
Subject: Stage 2 make dies for gcc 2.6.2
Date: 16 Nov 1994 20:02:21 GMT
Organization: MDSSC
Lines: 30
Distribution: world
Message-ID: <3adogd$b19@killerbee.jsc.nasa.gov>
NNTP-Posting-Host: pat.mdc.com