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 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Id: List-Unsubscribe: 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 > 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/