delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/18/11:47:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_00,BOTNET
X-Spam-Check-By: sourceware.org
Message-id: <4B7D6F11.3070204@cygwin.com>
Date: Thu, 18 Feb 2010 11:47:13 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: "undefined reference to `_JNI_CreateJavaVM'"
References: <20100218104310 DOT GB3156 AT mimosa DOT garydjones DOT name>
In-reply-to: <20100218104310.GB3156@mimosa.garydjones.name>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 02/18/2010 05:43 AM, Gary wrote:
> I've basically followed along with what is written at
> http://www.inonit.com/cygwin/jni/invocationApi/  (built an import
> library, passed ld the "-L. -ljvm" parameters, and so on). One difference
> is that gcc no longer supports -mno-cygwin, but I'm not convinced that
> is the cause.

Since the above site isn't cygwin.com, this list really can't support the
process they've outlined.  You should really ask them about it.  Also
if you really need '-mno-cygwin', then you're not building for
Cygwin, which also tends to make the subject matter off-topic for
this list. All that said, you should be able to get back to an
environment that's at least close to what you need either by installing
the 'gcc3' package or installing gcc as offered by the mingw.org folks.
The latter is really what you're getting with the '-mno-cygwin' switch
anyway.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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