Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: Cygwin 1.5.10: Possible bug Date: Mon, 21 Jun 2004 10:23:14 -0700 Lines: 13 Message-ID: References: <40D6C0D8 DOT 8070207 AT phenix DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT 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/