X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Hans Horn <hannes@2horns.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@dough.gmane.org> <BANLkTikh=3DLDE7s-yVOYo=CZ6u9GNvfXw@mail.gmail.com> <4DA46998.5050008@cs.umass.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

