Creating a dll in cygwin for use with jni without -mno-cygwin

Martin Dorey mdorey@bluearc.com
Sun Nov 25 23:05:00 GMT 2007


> The problem here is that you're loading the Cygwin1.dll library
> dynamically, as opposed to linking against it normally.

(Depending on exactly what you're trying to do, another approach can be to
use a Cygwin-based executable to launch Java.  There's more information
about how to do that, including actively maintained source code, at
http://elliotth.blogspot.com/2005/08/porting-jni-code-to-win32-with-cygwin.html.)

-- 
View this message in context: http://www.nabble.com/Creating-a-dll-in-cygwin-for-use-with-jni-without--mno-cygwin-tf4238762.html#a13941128
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list