libtool, java woes

Tom Tromey
Tue Apr 10 17:53:00 GMT 2001

>>>>> "Mark" == Mark Mitchell <> writes:

Alexandre> What I don't understand is why libgcj is linked with
Alexandre> libsupc++, and not with libstdc++.

Tom> We don't need or want libstdc++.

Mark> I think it's basically wrong to link with libsupc++ on any
Mark> non-embedded system.  In the same way that we don't provide a
Mark> separate malloc-and-free-but-not-popen C library, we shouldn't
Mark> provide a separate new-and-delete-but-not-iostream C++ library.

I don't think this analogy holds too well.  For one thing, in libjava
we don't want or need the C++ `new' support either.  We just want the
exception handling code.  The compiler generates calls to this code
without real user knowledge.  I see this as more akin to something
like libgcc than, say, libc.

Adding libstdc++ to every Java program is a cost we would rather not


More information about the Java mailing list