Article View: gnu.gcc.help
Article #42639Help compiling 2.7.1 for Solaris 2.4
From: Marcus W. Russell
Date: Sat, 18 Nov 1995 00:00
Date: Sat, 18 Nov 1995 00:00
59 lines
2205 bytes
2205 bytes
I'm attempting to compile gcc 2.7.1 (with c, c++, objective c) on a SparcStation 5 running Solaris 2.4. I'm using the compiled Solaris 2.3 binaries I found of gcc 2.5.6 to help me, since Sun didn't put a compiler in the box. I'm using the standard Solaris 2.4 linker, assembler, etc. Oh, and I have installed Bison 1.24. Here's my process so far: # ./configure --No trouble here. # make CC=gcc LANGUAGES=c --Following the documentation, I am compiling only c for the stage 1 compiler. # make stage1 CC=gcc -- OK, no problem here, either. # make CC="stage1/xgcc -Bstage1/" CFLAGS="-g" This is just like the INSTALL file instructs, except it also has a -02 after -g in CFLAGS. After my first attempt at this stage, I noticed that -02 was "unrecognzied" every single time, so I just left it out. It was during this first attempt that I got fatal errors relating to as. I did a make distclean, and started over. Again, everything went fine up to # make CC="stage1/xgcc -Bstage1/" CFLAGS="-g" After about 25 minutes of watching things flow past my eyes with no trouble, I get: stage1/xgcc -Bstage1/ -c -DIN+GCC -DSVR4 -g -I. -I.. -I. -I./.. -I./../config lex.c xgcc: Internal compiler error: program as got fatal signal 10 *** Error code 1 make: fatal error: Command failed for target 'lex.o' Current working directory /usr/local/src/gcc-2.7.1/cp ***Error code 1 make: Fatal error: Command failed for target 'cc1plus' The file lex.o exists in /usr/local/src/gcc-2.7.1/cp, so that's not the problem. Can anyone help me? Thanks in advance! Marc Russell Willamette University Salem, OR USA -- marc --------- mrussell@willamette.edu sysadmin@olympus.dis.wa.gov [Washington State Information Exchange (InfoX)]
Technical Details
Message-ID:
<48k6dp$pu2@gemini.willamette.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f47b380dcc074fec,start X-Google-Attributes: gid11318c,public From: mrussell@willamette.edu (Marcus W. Russell) Subject: Help compiling 2.7.1 for Solaris 2.4 Date: 1995/11/18 Message-ID: <48k6dp$pu2@gemini.willamette.edu> X-Deja-AN: 119671917 organization: Willamette University, Salem, OR, USA newsgroups: gnu.gcc.help