This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

JNI with g++


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.

Is there any difference for the linker? All libs are compiled under Cygwin so, if I use them under an executable everything works fine.

Hope anybody can help me with this strange problem !?

Thanks

Phil

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]