This is the mail archive of the gcc@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]

Re: libtool, java woes


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

    Tom> We just want the exception handling code.  The compiler
    Tom> generates calls to this code without real user knowledge.  I
    Tom> see this as more akin to something like libgcc than, say,
    Tom> libc.

I agree.  

This stuff used to be in libgcc, and I was never entirely convinced it
shouldn't *still* be there.  On the one hand, the new ABI gives us a
way of keeping front-end specific code separate from libgcc, which is
good; on the other hand, it makes this kind of sharing harder.

I still don't think you should link in libsupc++, though.  Instead, we
should package the EH code separately, as a shared object, or put it
back in libgcc.  (Having it in libgcc doesn't prevent using other
personality routines for outher languages.)  

Linking in libsupc++ is dangerous -- and, from what you say, still
imposes an unncessary cost on Java programs.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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