Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3B83B948.B4975528@syntrex.com>
Date: Wed, 22 Aug 2001 15:53:12 +0200
From: Pavel Tsekov <ptsekov@syntrex.com>
Organization: http://www.syntrex.com
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@sources.redhat.com
Subject: cygwin, jni and java question
References: <998487451.31548.ezmlm@sources.redhat.com>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit

Hi, there! :)

I have the following problem and I'd like to hear any suggestion you
might have on how to solve it:

  I hava a some java functionality which I need to access from C/C++.
I've written the C wrapper that calls
  into JAVA using JNI and it works just fine. Now I have to build the
program using the wrapper code using    cygwin tools. The code compiles
fine but when it comes to linking I'm stuck :( From what I see I have to
  build a cygwin style library from the jvm.dll to link against the JNI
code, but I've havent succeed in      finding a way to build this import
library ... nm says the jvm.dll is missing the symbols so I cant use
  libtool to produce a working import lib. Can you help me with that
problem ? Btw I succeded to build such   an import lib with a tool from
the lcc compiler but i havent tested it still cause i'm not sure if
this     lib will work with cygwin.

Best regards,
Pavel Tsekov

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

