Article View: gnu.gcc.help
Article #41492compiling gcc for solaris2.x
From: SHONKWILER R W
Date: Thu, 21 Mar 1996 00:00
Date: Thu, 21 Mar 1996 00:00
26 lines
1460 bytes
1460 bytes
I've loaded Solaris2.5 on a Sun IPX (but still have SunOS 4.1.3
installed on separate partitions) and am trying to install gcc2.7.1,
(in /opt/gnu).
I have no trouble whatever getting gcc to compile under 4.1.3,
(sparc-sun-sunos4.1) but getting it to compile under solaris 2.5
(sparc-sun-solaris2) is another matter. I tried:
1. mounting the 4.1.3 partition with gcc from solaris and re-making
gcc (to /opt/GNU). (Note that solaris doesn't come with a C compiler.)
This failed when the assembler hit an "invalid operand value 'bss'".
2. cross-compiling the solaris2 compiler under the 4.1.3 system using
the configure flags
configure --build=sparc-sun-sunos4.1.3 --host=sparc-sun-solaris2
and --target as solaris2, This got farther, but also failed when
trying to assembel sol2-c1.asm, "unknown opcode ".section", ".type"
etd.
ron shonkwiler
--
SHONKWILER R W
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!prism!ma201rs
ARPA: ma201rs@prism.gatech.edu
Technical Details
Message-ID:
<4is11u$jqt@acmez.gatech.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,6ad8dabbe753a655,start X-Google-Attributes: gid11318c,public From: ma201rs@prism.gatech.edu (SHONKWILER R W) Subject: compiling gcc for solaris2.x Date: 1996/03/21 Message-ID: <4is11u$jqt@acmez.gatech.edu> X-Deja-AN: 143829426 organization: Georgia Institute of Technology keywords: gcc solaris2 cross-compile newsgroups: gnu.gcc.help