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 Subject: Re: 64bit (g)fortran JNI Date: Tue, 12 Apr 2011 08:10:38 -0700 Lines: 32 Message-ID: References: <4DA46998 DOT 5050008 AT cs DOT umass DOT 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 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 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