Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 18 May 2001 21:00:55 +0400 From: egor duda X-Mailer: The Bat! (v1.45) Personal Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <21185652714.20010518210055@logos-m.ru> To: Tucker Maney CC: cygwin AT sources DOT redhat DOT com Subject: Re: java and C++ In-reply-To: <200105181650.MAA00975@sun31.aic.nrl.navy.mil> References: <200105181650 DOT MAA00975 AT sun31 DOT aic DOT nrl DOT navy DOT mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Friday, 18 May, 2001 Tucker Maney maney AT aic DOT nrl DOT navy DOT 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 , which your probram #includes is not supposed to be compiled with gcc. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple