This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++
- From: "bkoz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jan 2012 22:25:18 +0000
- Subject: [Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++
- Auto-submitted: auto-generated
- References: <bug-49829-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829
--- Comment #14 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-01-20 22:25:18 UTC ---
Created attachment 26398
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26398
try 5, src/c++11/.libs, src/c++98/.libs, libstdc++convenience.la
Changes:
1) nest source SUBDIRS in toplevel src directory, so src/c++98, src/c++11.
2) add supra-convenient library, libstdc++convenience.la to src Makefile.am as
a target
The question is now, how do I get gcc to link with libstdc++convenience.la
instead of libstdc++ when --disable-static?