This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829

--- Comment #4 from Paolo Bonzini <bonzini at gnu dot org> 2012-01-03 13:06:50 UTC ---
You can just set enable_static=no early in libstdc++-v3/configure.ac.  It will
still install libstdc++-v3.a, which is a bit ugly, but that's quite hard to
achieve due to libtool.

One alternative is to build a convenience library (always static) for
libstdc++.  Then you build the shared library from it, and link gcc to the
convenience library.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]