Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 5 Apr 2004 10:46:47 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Loading gcc-compiled DLL with Java (JNI) crashes when using newer (>1.5.5) cygwin1.dll
Message-ID: <20040405144647.GA15144@coc.bosbc.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <404E3A33.4090805@Proefrock.de> <Pine.GSO.4.56.0403091647360.18797@slinky.cs.nyu.edu> <c2nqv4$ieh$1@sea.gmane.org> <6.0.1.1.0.20040310164105.03a223e0@127.0.0.1> <c4l05r$5d9$1@sea.gmane.org> <Pine.GSO.4.56.0404021957450.2840@slinky.cs.nyu.edu> <c4lbfk$lqc$1@sea.gmane.org> <Pine.LNX.4.58.0404030628590.20851@pervalidus.dyndns.org> <20040403164526.GB6264@coc.bosbc.com> <c4ps42$6c8$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <c4ps42$6c8$1@sea.gmane.org>
User-Agent: Mutt/1.4.1i

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/

