This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HP-UX


-On [20020130 21:45], Alexandre Oliva (aoliva@redhat.com) wrote:
>On Jan 30, 2002, "Ehrke, Christian" <C.Ehrke@allweiler.de> wrote:
>
>> what about version 3.0.3 for HP-UX?
>> There is only 3.0.1 at the HP-UX-Porting Centre available.
>
>GCC 3.0.3 is available in source form from gcc.gnu.org.  Why the
>HP-UX-Porting Centre hasn't made a new version available should be
>asked to them, not to us.

The GCC available from the HPPC is 32-bit only, since they compile it on
HP-UX 10.20.

HP makes a 32 bit and 64 bit version available at:

http://dsportal.eservices.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html

This at least creates true PA-RISC 2.0 64-bit code, whereas the HPPC's
version creates PA-RISC 1.1 32-bit code.

Also, please note you need to fix the specs file located at:

/usr/local/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2/specs

And change the link: line to:

*link:
-E %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}

Since they left part of the own compiler's option flags in there.

-- 
Jeroen Ruigrok van der Werven / asmodai / Kita no Mono / xMach coreteam
asmodai@[wxs.nl|xmach.org], finger asmodai@ninth-circle.org
http://www.softweyr.com/asmodai/
My name is Legion: for we are many...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]