This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: java and C++
- To: Tucker Maney <maney at aic dot nrl dot navy dot mil>
- Subject: Re: java and C++
- From: egor duda <deo at logos-m dot ru>
- Date: Fri, 18 May 2001 21:00:55 +0400
- CC: cygwin at sources dot redhat dot com
- Organization: deo
- References: <200105181650.MAA00975@sun31.aic.nrl.navy.mil>
- Reply-To: egor duda <cygwin at sources dot redhat dot com>
Hi!
Friday, 18 May, 2001 Tucker Maney maney@aic.nrl.navy.mil 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:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple