This is the mail archive of the
mailing list for the Cygwin project.
Re: 64bit (g)fortran JNI
- From: Jerry DeLisle <jvdelisle at frontier dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Apr 2011 19:25:36 -0700
- Subject: Re: 64bit (g)fortran JNI
- References: <firstname.lastname@example.org>
On 04/12/2011 07:38 AM, Hans Horn wrote:
Folks,What do you mean by native method? Are you trying to call Fortran procedures
has anybody got any experience interfacing (g)fortran routines with Java via JNI?
I'm on 64bit Windows7 using cygwin
x86_64-w64-mingw32-gcc and x86_64-w64-mingw32-gfortran, both v4.5.2
Even though I can statically link the JNI code successfully (using gfortran as
linker), calling any native method from Java crashes the JVM - even when no
fortran code is called at all.
In what way does it crash? Can you get a back trace from a debugger?
PS I have no experience with this, just asking some questions to glean
additional information. Fortran calling conventions are no exactly the same as C.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple