|
From: Andrew & A. <a1...@fi...> - 2003-09-05 16:06:07
|
Hi I am trying to make a very simple dll for the java JNI. I cannot get any = joy in dev-c++, I've tried every combination of settings I can imagine. = Finally, I have copied the command line instructions from the mingw FAQ = at http://www.mingw.org/mingwfaq.shtml#faq-jni-dll, and this does not = work either. I get an error message 'incorrect command line option: = -iprefix', which is difficult to debug, as this is not part of the = command, which is=20 gcc -Wall -D_JNI_IMPLEMENTATION_ -Wl,--kill-at=20 -Ic:/j2sdk1.4.1_02/include -Ic:/j2sdk1.4.1_02/include/win32=20 -shared someJavaImp.c -o JavaImp.dll=20 I am 'working' in a winME environment. I would be extremely grateful for information leading to the successful = creation of a dll, I am currenly trying to follow the JAVA doc = instuctions to create a dll for a helloworld application, so complexity = is not the issue! regards Andrew |