Article View: gnu.gcc.help
Article #52150Re: GCC and Dynlink
From: Casper H.S. Dik
Date: Tue, 09 Feb 1993 08:52
Date: Tue, 09 Feb 1993 08:52
16 lines
1335 bytes
1335 bytes
raw@ushiva.wariat.org (Roland Wilcher) writes: >Does anybody know what version of GCC can generate pic ? >I am trying to build shared libraries under Solaris 2.1 >on a sparc classic machine using gcc-2.3.1. Any attempt to >use the -fpic option causes the compiler to crash. Any For PIC under Solaris 2.1 you'll need gcc 2.3.3 (or later). There are a number of bugs in previous versions, one if which is that gcc 2.3.2 and earlier uses __GLOBAL_OFFSET_TABLE_ as name for the Global Offset Table instead of _GLOBAL_OFFSET_TABLE_. I could easily build X11R5 shared libraries with Gcc 2.3.3. Casper
Technical Details
Message-ID:
<1993Feb9.085202.2006@fwi.uva.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!newsserver.jvnc.net!gmd.de!Germany.EU.net!mcsun!sun4nl!fwi.uva.nl!casperReferences:
<C25pzE.Hv@ushiva.wariat.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,242725ad5b080deb X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-02-09 00:52:02 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!newsserver.jvnc.net!gmd.de!Germany.EU.net!mcsun!sun4nl!fwi.uva.nl!casper From: casper@fwi.uva.nl (Casper H.S. Dik) Subject: Re: GCC and Dynlink Message-ID: <1993Feb9.085202.2006@fwi.uva.nl> Sender: news@fwi.uva.nl Nntp-Posting-Host: adam.fwi.uva.nl Organization: FWI, University of Amsterdam References: <C25pzE.Hv@ushiva.wariat.org> Distribution: gnu Date: Tue, 9 Feb 1993 08:52:02 GMT Lines: 16