Mail Archives: cygwin/1999/01/21/16:40:58
On Thu, 21 Jan 1999 parab0la AT my-dejanews DOT com wrote:
> When calling native functions written in C in Java, we have to create a shared
> library according to the JNI doc. That shared library would be a .dll file
> under Win32 and a .so file under Solaris.
>
> My question is, under Win32, can the Cygnus gcc that comes with Cygwin be used
> to compile a .dll file suitable for JNI framework?
Yes, it works. I've packaged up two simple examples on how to do this.
See ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/misc/
It provides two examples, one in C and the other in C++. You MUST have
Cygwin B20.1 (B20 is not sufficient).
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -