delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/03/11:45:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 3 Apr 2004 11:45:26 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Loading gcc-compiled DLL with Java (JNI) crashes when using newer (>1.5.5) cygwin1.dll
Message-ID: <20040403164526.GB6264@coc.bosbc.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <404E2A9B DOT 10804 AT Proefrock DOT de> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040309160528 DOT 03d47338 AT 127 DOT 0 DOT 0 DOT 1> <404E3A33 DOT 4090805 AT Proefrock DOT de> <Pine DOT GSO DOT 4 DOT 56 DOT 0403091647360 DOT 18797 AT slinky DOT cs DOT nyu DOT edu> <c2nqv4$ieh$1 AT sea DOT gmane DOT org> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040310164105 DOT 03a223e0 AT 127 DOT 0 DOT 0 DOT 1> <c4l05r$5d9$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0404021957450 DOT 2840 AT slinky DOT cs DOT nyu DOT edu> <c4lbfk$lqc$1 AT sea DOT gmane DOT org> <Pine DOT LNX DOT 4 DOT 58 DOT 0404030628590 DOT 20851 AT pervalidus DOT dyndns DOT org>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.58.0404030628590.20851@pervalidus.dyndns.org>
User-Agent: Mutt/1.4.1i
Reply-To: cygwin AT cygwin DOT com

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 AT sourceware DOT org
Cygwin Co-Project Leader                          hank AT duffek DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019