delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/18/13:03:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: egor duda <cygwin AT sources DOT redhat DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <21185652714.20010518210055@logos-m.ru>
To: Tucker Maney <maney AT aic DOT nrl DOT navy DOT mil>
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

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 <jni.h>, 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019