This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: HP-UX and Shared libraries
- To: "Paul Repacholi ( prep )" <erepacholi at alpha2 dot curtin dot edu dot au>
- Subject: Re: HP-UX and Shared libraries
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 11 Apr 1998 18:30:58 -0600
- cc: zrepachol at alpha2 dot curtin dot edu dot au, dlucas at checkfree dot com, egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199804112025.EAA01856@hydro.right.here>you write:
> I do believe you, honest ;)
>
> But, if I can ak, why?... I seem to remember this comming
> up on c.o.hpux, and one of the hp people saying that if
> a +z shared lib linked, that was it. It was only if
> the link failed that you needed +Z.
Consider what happens when you want to include a .a file into a
shared library (and yes, we do that). You don't know until link
time whether or not it would need big or small pic.
Yes, in theory we could use -fpic to build the actual libstdc++
shared library, but in general it's not worth the effort.
jeff