This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: strange linking errors with static-libs...
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: Clemens Eisserer <Linuxhippy at web dot de>, <java at gcc dot gnu dot org>
- Date: Thu, 31 Oct 2002 22:41:06 -0500 (EST)
- Subject: 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