Patch to enable libgcj.dll for MinGW

TJ Laurenzo tlaurenzo@gmail.com
Wed Sep 7 09:09:00 GMT 2005


> It occurs to me that I made an assumption that this is still a
> problem. I originally noticed the problem on an earlier 4.1 source
> drop and kept the patch when I moved to HEAD. I'm going to rebuild
> against HEAD without any changes to gjavah.c and see what happens.
> I'll feel really dumb if this has already been fixed somewhere else.
> It's worth checking anyway. Stay tuned.
I just rebuilt the dll against against CVS headand verified that
without this patch the mingw build fails:
java/util/.libs/logging.o:logging.list:(.text+0x250): multiple
definition of `java::util::logging::Logger::getName(java::lang::String*,
void)'
java/util/logging/.libs/natLogger.o:natLogger.cc:(.text$_ZN4java4util7logging6Logger7getNameEPNS_4lang6StringEv[java::util::logging::Logger::getName(java::lang::String*,
void)]+0x0): first defined here
So, Andrew, if you figure out which macro will do the trick for
detecting this problem, do let me know.


More information about the Java mailing list

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