This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
linking with libstdc++
- From: "Michael Fimin" <michaelfimin at mail dot ru>
- To: libstdc++ at gcc dot gnu dot org
- Cc:
- Date: Wed, 24 Jul 2002 12:25:30 +0400
- Subject: linking with libstdc++
- Reply-to: "Michael Fimin" <michaelfimin at mail dot ru>
Does anybody tried to link statically with libstdc++ to produce shared object
(*.so) library?
The problem is that libstdc++.a is linked without -fpic option that allows
loader to relocate shared object at any address.
I'm going to link many shared objects that will dynamically and simultaneously
load into the same address space and all them will be linked against libstdc++.
But this impossible without -fpic option in libstdc++.
How to link libstdc++ with -fpic option? Is there any standard build script
exists?
My platform is Solaris and version of GCC is 2.95.2.
Any help would be greatly apreciated.
------------------------------------
Mail.Ru - удобно, доступно, надежно!
------------------------------------