This is the mail archive of the
mailing list for the Cygwin project.
Re: JNI with g++
On Sat, Nov 5, 2011 at 11:22 AM, Kraus Philipp wrote:
> 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?
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple