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
To: cygwin@cygwin.com
From: "Hans Horn" <hannes@2horns.com>
Subject: Re: Loading gcc-compiled DLL with Java (JNI) crashes when using newer (>1.5.5) cygwin1.dll
Date: Fri, 2 Apr 2004 19:36:12 -0800
Lines: 21
Message-ID: <c4lbfk$lqc$1@sea.gmane.org>
References: <404E2A9B.10804@Proefrock.de> <6.0.1.1.0.20040309160528.03d47338@127.0.0.1> <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>
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: adsl-68-120-139-143.dsl.snfc21.pacbell.net
X-Newsreader: Microsoft Outlook Express 6.00.2800.1209

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/

