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: Loading gcc-compiled DLL with Java (JNI) crashes when using newer (>1.5.5) cygwin1.dll


Hi Igor,

this was something I did try out as well. However, the dll produced with
"-no-cygwin" was just as "bad" as before.
Then I recalled faintly reading some discussion a while back, that
"mingw-gcc != gcc -no-cygwin" (don't remember details, though).

For better or worse, I'm in business now!

thx,
Hans

>FYI, there was no need for you to go to all this trouble.  You could have
>instead installed the "gcc-mingw" and "mingw-runtime" packages via
>Cygwin's setup, and gotten the same functionality via "gcc -mno-cygwin".

>As long as your DLL doesn't use any of Cygwin's POSIX features, you should
>be fine with a MinGW version (i.e., -mno-cygwin one).
>Igor




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