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: strange linking errors with static-libs...


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


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