🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42214

Re: How to create a shared library on HPUX-9.05

#42214
From: Kazimir Kylheku
Date: Fri, 29 Dec 1995 00:00
24 lines
1296 bytes
In article <DORONS.95Dec20100412@rachel.w3spider.com>,
Doron Sherman <dorons@rachel.w3spider.com> wrote:
>
>Hello all,
>
>I'm using gcc-2.6.3 on a HP9000/735 workstation running HPUX-9.05.
>Trying to create a shared library from gcc-compiled objects gives
>the following problems:
>
>(1) when using the gcc compiler with the -shared option:

I don't think that you can make shared libraries under HP-UX with GCC 2.6.3.

It doesn't do position-independent code on that architecture (I hear that this
has been made to work in recent GCC versions).

You must use the vendor's cc compiler to generate position-independent object
files, using the +z compiler option. Read the HP-UX man pages on cc and ld
carefully.

Cheers.. Kaz
-- 
I got my BSD degree from the U of NIX.
Better dead than Redmond.
Technical Details
Message-ID: <4c2iagINN42p@keats.ugrad.cs.ubc.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <DORONS.95Dec20100412@rachel.w3spider.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3922c90f17054b27
X-Google-Attributes: gid11318c,public
From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
Subject: Re: How to create a shared library on HPUX-9.05
Date: 1995/12/29
Message-ID: <4c2iagINN42p@keats.ugrad.cs.ubc.ca>
X-Deja-AN: 123155207
references: <DORONS.95Dec20100412@rachel.w3spider.com>
organization: Computer Science, University of B.C., Vancouver, B.C., Canada
newsgroups: gnu.gcc.help