Patch to enable libgcj.dll for MinGW

Andrew Haley aph@redhat.com
Thu Sep 8 11:29:00 GMT 2005


TJ Laurenzo writes:
 > > Right, so we should disable it on PE targets. Please submit a patch
 > > that does so.
 > 
 > I can agree to disagree at this point. The patch will disable the
 > call to decompile_method if it is a PE target. At the risk of
 > extending this thread by one more message, can someone provide the
 > proper target macro for this?
Interestingly, cygwin.h includes this:
/* Binutils does not handle weak symbols from dlls correctly. For now,
 do not use them unnecessarily in gthr-posix.h. */
#define GTHREAD_USE_WEAK 0
but mingw32 doesn't. I assume that mingw32 binutils has exactly the
same bug, so this is perhaps a mistake. Danny?
Anyway, I'd have no objection to 
#ifdef OBJECT_FORMAT_ELF
because it's only ELF targets where we're sure this works.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /