strange linking errors with static-libs...

Jeff Sturm jsturm@one-point.com
Thu Oct 31 19:41:00 GMT 2002


On 31 Oct 2002, Anthony Green wrote:
> > Is JNI supported by GCJ with the Gygwin or the MinGW-version?
>> I'm guessing yes, but Adam or one of the other win32 hackers will have
> to confirm.

There is this comment:
/* Linkage and calling conventions. This will need updating when we
 support Windows DLLs. */
#define JNIIMPORT
#define JNIEXPORT
#define JNICALL
Since JNICALL et al aren't defined or used anywhere yet, I'd guess it
doesn't work right now (IIRC, JNICALL needs to expand to
__attribute__((__stdcall__)) on Windows).
Actually loading the DLL shouldn't be too hard, especially if libltdl
already knows how.
Jeff


More information about the Java mailing list

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