This is the mail archive of the gcc-bugs@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]

Re: HP-UX and Shared libraries



  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


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