Re: 64bit (g)fortran JNI

2011-04-13 Thread Hans Horn
On 4/12/2011 7:25 PM, Jerry DeLisle wrote: On 04/12/2011 07:38 AM, Hans Horn wrote: Folks, 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 Java: jdk-6u24-wi

Re: 64bit (g)fortran JNI

2011-04-13 Thread Csaba Raduly
On Wed, Apr 13, 2011 at 4:25 AM, Jerry DeLisle wrote: (snip) > Fortran calling conventions are not exactly the same as C. And "The __fortran calling convention isn't the calling convention used by FORTRAN" :) http://blogs.msdn.com/b/oldnewthing/archive/2010/12/22/10108152.aspx Csaba -- GCS a+

Re: 64bit (g)fortran JNI

2011-04-12 Thread Jerry DeLisle
On 04/12/2011 07:38 AM, Hans Horn wrote: Folks, 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 Java: jdk-6u24-windows-x64 Even though I can statically lin

Re: 64bit (g)fortran JNI

2011-04-12 Thread Eliot Moss
On 4/12/2011 11:10 AM, Hans Horn wrote: 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. Elliot, [Eliot] I've been using the cygwin gcc compiler (with the -mno-c

Re: 64bit (g)fortran JNI

2011-04-12 Thread Hans Horn
On 4/12/2011 7:48 AM, Kai Tietz wrote: 2011/4/12 Hans Horn: Folks, 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 Java: jdk-6u24-windows-x64 Even though I

Re: 64bit (g)fortran JNI

2011-04-12 Thread Hans Horn
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 thin

Re: 64bit (g)fortran JNI

2011-04-12 Thread Eliot Moss
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.

Re: 64bit (g)fortran JNI

2011-04-12 Thread Kai Tietz
2011/4/12 Hans Horn : > Folks, > > 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 > > Java: jdk-6u24-windows-x64 > > Even though I can statically link th

64bit (g)fortran JNI

2011-04-12 Thread Hans Horn
Folks, 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 Java: jdk-6u24-windows-x64 Even though I can statically link the JNI code successfully (using gfort