This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Fun with shared libs on HPUX - Request for help
- To: Robert A Nesius <rnesius at ichips dot intel dot com>
- Subject: Re: Fun with shared libs on HPUX - Request for help
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 27 Mar 2000 02:32:34 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: Cygnus Solutions, a Red Hat Company
- References: <Pine.LNX.4.02A.10003261514210.706-100000@pdxlx196.pdx.intel.com>
On Mar 26, 2000, Robert A Nesius <rnesius@ichips.intel.com> wrote:
> But the problem I'm running into is that my libstdc++ lib is
> apparantly not really a shared library, even though -fPIC is getting
> set by the configure.
> /usr/ccs/bin/ld: DP relative code in file /usr/intel/pkgs/gcc/2.95.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.1/libstdc++.a(iostream.o) - shared library must be position
^
See, it's linking with the static version of libstdc++, for some
reason. e reason I don't understand. Check whether libstdc++.sl
was installed, and, if it was, where it lives.
> I'm having trouble bottoming out on what the best way to fix this
> is. Build libstdc++ by itself separately after the main build
> and reinstall it, using aCC and +Z?
No, that definitely won't help, C++ compilers still don't produce
link-compatible code.
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me