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] |
For the first command I get:Please try this (it works for me with gcj 3.3.1 MinGW -- I have never tried it with Cygwin though):$ gcc -c JNITest.c (Implemented JNITest.h-methods) $ gcc -o JNITest.dll -shared JNITest.o
$ gcc -I/c/j2sdk1.4.2/include -I/c/j2sdk1.4.2/include/win32 -I. -c JNITest.c (adjust the path to point to your Sun JDK)
$ gcc -Wall -shared -o JNITest.dll -D_JNI_IMPLEMENTATION_ -Wl,--kill-at JNITest.o
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |