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]
Other format: [Raw text]

Re: Patch to enable libgcj.dll for MinGW


> 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.


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