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]

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


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


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