Re: Fortran calling c compilation problem

2006-08-02 Thread Ben Wright
> The '-mno-cygwin' flag trigggers the "cross-compiler" to MinGW. If > you're > having problem with this switch, you should check with the MinGW folks > (http://www.mingw.org/), since you're really using their compiler, not > Cygwin's. Will do. Thanks. -- Benjamin Wright Statistical Laboratory

Fortran calling c compilation problem

2006-08-01 Thread Ben Wright
I'm working on a project that uses a combination of c++, c and fortran to build a library for use with the Java Native Interface. The library compiles correctly under Linux with gcc 3.2.3, but I can't get it to compile correctly under cygwin (using gcc 3.4.4). I'm calling: g++ -mno-cygwin -Wl