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: Thu, 19 Jan 2012 08:52:04 +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 #5 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-01-19 08:52:04 UTC ---
As per #4, here's the convenience library approach.
With this, libstdc++.so is composed of three convenience libraries:
1. libsupc++convenience.la
2. libstdc++98convenience.la
3. libstdc++11convenience.la
This seems like it will work, but haven't reproduced this issue yet so can't
tell for certain.
I'm not exactly sure how to use these convenience libraries instead of
libstdc++.a in the gcc build process. But perhaps somebody else can figure out
that part....