This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: libtool, java woes


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> 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
pay.

Tom


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