[Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++

bkoz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 19 09:09:00 GMT 2012


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....



More information about the Gcc-bugs mailing list