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


On Sun, Apr 04, 2004 at 01:44:56PM -0700, Hans Horn wrote:
>>>The correct switch is -mno-cygwin.  -mno-cygwin should be equivalent to
>>>building with the mingw compiler unless you try to include cygwin header
>>>files or libraries, which is a common mistake.
>
>Chris, sorry that was I typo in my posting!
>I used gcc -mno-cygwin rather than -no-cygwin, and this did NOT produce a
>working dll!!!!
>mingw-gcc did!

Well, there's really not enough data to go on here.  I assume that you must
have linked cygwin libraries in somehow.
--
Christopher Faylor
Cygwin Co-Project Leader
TimeSys, Inc.

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