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 Message-ID: <3B83B948.B4975528@syntrex.com> Date: Wed, 22 Aug 2001 15:53:12 +0200 From: Pavel Tsekov 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 AT sources DOT redhat DOT com Subject: cygwin, jni and java question References: <998487451 DOT 31548 DOT ezmlm AT sources DOT redhat DOT 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/