delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/12/11:11:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Hans Horn <hannes AT 2horns DOT com>
Subject: Re: 64bit (g)fortran JNI
Date: Tue, 12 Apr 2011 08:10:38 -0700
Lines: 32
Message-ID: <io1q1k$shi$1@dough.gmane.org>
References: <io1o4k$euu$1 AT dough DOT gmane DOT org> <BANLkTikh=3DLDE7s-yVOYo=CZ6u9GNvfXw AT mail DOT gmail DOT com> <4DA46998 DOT 5050008 AT cs DOT umass DOT edu>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
In-Reply-To: <4DA46998.5050008@cs.umass.edu>
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

On 4/12/2011 8:02 AM, Eliot Moss wrote:
>> For x64 Windows releated target questions it would be better if you
>> are posting to mingw-w64's ML: I redirect this thread to this list.
>
> Yes, definitely:
>
> - cygwin is for 32-bit only
> - cygwin is not really compatible with even a 32-bit
> JVM if you were thinking of using cygwin to run
> JNI code. The JNI system in Windows JVMs is built
> for Windows, not cygwin. (In principle one could
> build a JVM using cygwin, but the most popular
> ones are not built that way, and in fact I don't
> know of a full-strength JVM (any really) built
> for/with cygwin.)
>
> Best -- Eliot Moss

Elliot,

I've been using the cygwin gcc compiler (with the -mno-cygwin option) 
for years to build JNI dlls (interfacing with C code) that ran fine 
under 32bit JVMs on windows32.

After migrating to 64bit windows7 last year, I've been using 
x86_64-w64-mingw32-gcc to do the same, ie. build JNI dlls that run fine 
under 64bit JVMs on windows64.

However, throwing fortran in the mix is causing the trouble I'm seeking 
help for.

H.


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