delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/21/13:23:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankarunni AT netscape DOT 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 DOT 8070207 AT phenix DOT fr>
Mime-Version: 1.0
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/

- Raw text -


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