This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Awt implementation in libgcj?
>>>>> "Anthony" == Anthony Green <green@cygnus.com> writes:
Anthony> natWindow.cc includes two files that we don't currently
Anthony> install: config.h and jvm.h. They don't appear to be
Anthony> required by natWindow.cc (at least, with a recent libgcj), so
Anthony> you should probably remove them.
They shouldn't be required. If they really are, either the code is
using internal stuff we don't want to export, or there is something we
should export that we currently don't. We'd have to hear the details
to know for sure.
Anthony> The linker is complaining that _Jv_Throw doesn't exist. I
Anthony> tried this on a platform that uses sjlj exceptions. cni.h
Anthony> says:
Anthony> #ifdef SJLJ_EXCEPTIONS
Anthony> #define _Jv_Throw _Jv_Sjlj_Throw
Anthony> #endif
Anthony> SJLJ_EXCEPTIONS is defined in config.h, which we don't
Anthony> install or include in this file. What should we do about
Anthony> this - Tom? Andrew?
We want to avoid installing config.h if we possibly can (it isn't
clear that we can, but we can try). Do we do this renaming just to
cause link errors if different pieces of code disagree about the
exception handling mechanism? Or is there another reason? If the
former, is there another way we can do it, one which doesn't require a
macro in cni.h?
T