Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/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: Shankar Unni <shankarunni@netscape.net>
Subject: Re: Cygwin 1.5.10: Possible bug
Date: Mon, 21 Jun 2004 10:23:14 -0700
Lines: 13
Message-ID: <cb75i5$fsm$1@sea.gmane.org>
References: <40D6C0D8.8070207@phenix.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: adsl-68-120-146-125.dsl.snfc21.pacbell.net
User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616)
In-Reply-To: <40D6C0D8.8070207@phenix.fr>

Dave Neary wrote:

> I have come across a problem with cygwin (I think) which prevents it 
> from being used to compile JNI bindings.

Or any DLLs that need to be loaded from non-Cygwin main programs (e.g. 
Sun Java). This has been a problem for several releases now, and no one 
(me included, I must confess) seems to find the time to narrow this down..

Your best bet may be to compile your JNI code with mingw (or use the 
-mno-cygwin option with the cygwin gcc). You won't be able to use a lot 
of POSIX system calls in this mode, but at least the resultant DLL 
should be loadable from non-cygwin main programs.


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

