delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/25/18:01:42

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <13941128.post@talk.nabble.com>
Date: Sun, 25 Nov 2007 15:01:17 -0800 (PST)
From: Martin Dorey <mdorey AT bluearc DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Creating a dll in cygwin for use with jni without -mno-cygwin
In-Reply-To: <46BA2D27.ADF36363@dessent.net>
MIME-Version: 1.0
X-Nabble-From: mdorey AT bluearc DOT com
References: <12060945 DOT post AT talk DOT nabble DOT com> <46BA2D27 DOT ADF36363 AT dessent DOT net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

> The problem here is that you're loading the Cygwin1.dll library
> dynamically, as opposed to linking against it normally.

(Depending on exactly what you're trying to do, another approach can be to
use a Cygwin-based executable to launch Java.  There's more information
about how to do that, including actively maintained source code, at
http://elliotth.blogspot.com/2005/08/porting-jni-code-to-win32-with-cygwin.html.)

-- 
View this message in context: http://www.nabble.com/Creating-a-dll-in-cygwin-for-use-with-jni-without--mno-cygwin-tf4238762.html#a13941128
Sent from the Cygwin list mailing list archive at Nabble.com.


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