delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <C1DA2237-F59A-43E1-9640-2C001E307738@flashpixx.de> |
References: | <C1DA2237-F59A-43E1-9640-2C001E307738 AT flashpixx DOT de> |
Date: | Sat, 5 Nov 2011 13:28:15 +0100 |
Message-ID: | <CAEhDDbDukniiZtAo6CepHRg6pJmRvCuM1CPRBAk-JEoc5bTcOA@mail.gmail.com> |
Subject: | Re: JNI with g++ |
From: | Csaba Raduly <rcsaba AT gmail DOT com> |
To: | cygwin AT cygwin DOT com, philipp DOT kraus AT flashpixx DOT de |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi, On Sat, Nov 5, 2011 at 11:22 AM, Kraus Philipp wrote: > Hello, > > I try to build under Cygwin a JNI shared library. I must use Cygwin because Atlas & LAPack can be compiled only under Cygwin without the -mno-cygwin flag. > So my library code will be compiled. I link to other Cygwin compiled libraries (*.dll) and some static libs. If I run my Java example I see with the Sysinternal > ProcessExplorer that the libraries will be loaded but the library function(s) won't be run. The code does not create any exception or anything else, only > the function code does not run. I'm sorry, but "function code does not run" is not sufficient to diagnose the problem. Have you tried putting print statements before and after the function invocation to see whether Java tries to call the function? Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |