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 Sat, Apr 03, 2004 at 06:32:16AM -0300, Fr?d?ric L. W. Meunier wrote:
>On Fri, 2 Apr 2004, Hans Horn wrote:
>
>> 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).
>
>-no-cygwin ? I thought it was -mno-cygwin. Or are both the same
>thing ?

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.
--
Christopher Faylor                    spammer? -> aaaspammer@sourceware.org
Cygwin Co-Project Leader                          hank@duffek.org
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]