Hi!

Friday, 18 May, 2001 Tucker Maney [EMAIL PROTECTED] wrote:

TM> I would like to be able to run C code from Java.  I've done this under
TM> Solaris with no problems, but now I'm using cygwin gcc under Windows 2000.
TM> I thought i'd start with the simple example on the Java Sun webpage.
TM> Get stuck making the dll.  Mail errors have to do with jlong in the jni.h
TM> file.  Have put copies of all files, etc, in attachment.

run gcc with '-v' and '--save-temps' options.

this will show what preprocessor's doing with your sources and why.
most probable reason is that <jni.h>, which your probram #includes is
not supposed to be compiled with gcc.

Egor.            mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to