This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12250] New: --disable-shared disables too much
- From: "bim2003 at basistech dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2003 14:31:35 -0000
- Subject: [Bug libstdc++/12250] New: --disable-shared disables too much
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12250
Summary: --disable-shared disables too much
Product: gcc
Version: 3.2.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bim2003 at basistech dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
My goal is to build a copy of gcc where (a) there are no shared libs produced
for libstdc++ (or other) components, but (b) it is possible to use the results
to build shared libraries. This requires the production of a libstdc++.a that
is compiled PIC on solaris. --disable-shared resulted in a libstdc++ that is
not compiled pic, and so can't be linked with a shared lib.
If I've missed something in the configure doc that explains how to accomplish
this, I apologize.