Article View: gnu.gcc.help
Article #50937Compiling gcc2.4.5 on Solaris alpha2.3
From: Richard Yen
Date: Wed, 28 Jul 1993 19:38
Date: Wed, 28 Jul 1993 19:38
43 lines
2456 bytes
2456 bytes
I'm trying to get gcc2.4.5 to work on the alpha release of Solaris. However, it should
be the same as Solaris 2.2, so if anybody has compiled successfully on that platform,
it should work the same way.
Well, I received instructions on how I should compile. I performed the following steps:
ftped the gcc2.4.5 binaries and used them to compile the actual gcc2.4.5
configure --target=sparc-sun-solaris2.1
textedit Makefile
LANGUAGES = c c++ objective-c proto
CFLAGS = -O2
CC = /opt/gnu/bin/gcc (binaries)
prefix = /opt/gcc
local_prefix = /opt/gcc
make LANGUAGES=c
make stage1
This is where I start to have problems. Some files couldn't be found, but
it produced error code 2 and was ignored.
make CC="stage2/xgcc -Bstage2/"
This is where it totally bombed. The output was as follows:
gobears2:{ryen}228% make CC="stage1/xgcc -Bstage1/"
stage1/xgcc -Bstage1/ -DIN_GCC -DSVR4 -O2 -I. -I. -I./config \
-DGCC_INCLUDE_DIR=\"/opt/gcc/lib/gcc-lib/sparc-sun-solaris2.3/2.4.5/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/opt/gcc/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/opt/gcc/include\" \
-DCROSS_INCLUDE_DIR=\"/opt/gcc/lib/gcc-lib/sparc-sun-solaris2.3/2.4.5/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/opt/gcc/sparc-sun-solaris2.3/include\" \
-DTOOLDIR=\"/opt/gcc/sparc-sun-solaris2.3/\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
xgcc: Internal compiler error: program cpp got fatal signal 11
*** Error code 1
make: Fatal error: Command failed for target `cccp.o'
Why does xgcc not work? Am I going about this all wrong? I don't have much experience
compiling gcc so everything I encounter is new and confusing. If anybody has any
insights on why this is occuring, please send me mail or post to the newsgroup.
Thanks in advance for your help.
--Richard Yen
Technical Details
Message-ID:
<m5dldgINNaqg@exodus.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!koriel!west.West.Sun.COM!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!gobears!ryenShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8b71244965f4874,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-07-28 13:10:12 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!koriel!west.West.Sun.COM!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!gobears!ryen From: ryen@gobears.Corp.Sun.COM (Richard Yen) Newsgroups: gnu.gcc.help Subject: Compiling gcc2.4.5 on Solaris alpha2.3 Date: 28 Jul 1993 19:38:24 GMT Organization: Sun Microsystems, Inc. Lines: 43 Distribution: world Message-ID: <m5dldgINNaqg@exodus.Eng.Sun.COM> NNTP-Posting-Host: gobears.corp.sun.com