libstdc++ libtool lossage

Alexandre Oliva aoliva@redhat.com
Thu Feb 21 19:20:00 GMT 2002


On Feb 21, 2002, Richard Henderson <rth@redhat.com> wrote:

> On Thu, Feb 21, 2002 at 07:51:32PM -0300, Alexandre Oliva wrote:
>> But then, perhaps -shared-libgcc is a do-nothing if no shared libgcc
>> is built already?

> It is.

Ok, so here's the patch I've come up with that addresses the problem
of libstdc++-v3 and libjava not being linked with the shared version
of libgcc.  It has the unfortunate (?) side effect that the two
programs linked in libjava, rmic and rmiregistry, are now explicitly
linked with the shared libgcc, instead of only inheriting that from
libgcj, but that's probably tolerable to avoid the major complications
I'd run into while trying to figure out how to avoid it.  I'm checking
this in.  Tested on athlon-pc-linux-gnu.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cxxlibs-want-shared-libgcc.patch
Type: text/x-patch
Size: 4014 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20020221/02a6da48/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Gcc mailing list