For the attached simple project, I get the following error:
bash.exe-3.1$ gfortran -o test.obj -c sfstubsf95.f90
Fatal Error: Reading module plplotp at line 491 column 35: Expected left parenthesis
gfortran.exe: Internal error: Aborted (program f951)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Note the platform I am using is MinGW/MSYS/Wine. This is not cross-compiled. Instead, I am using the downloaded Windows versions of MinGW (gcc-4.5.0_20100311-2) and MSYS for version 1.1.41 of Wine running on Debian Lenny, I get into the MSYS bash environment with, e.g.,
It is possible this is a Wine platform issue but I believe this is unlikely sice I have had success building a complicated C project with the same version of MinGW/MSYS using this Wine platform. Anyhow, a quick experiment with the attached fortran source for this version of MinGW/gfortran on the
Windows platform should clear up that issue.
bash.exe-3.1$ gfortran -v
Using built-in specs.
Configured with: ../gcc-4.5.0_20100311/configure --enable-languages=c,c++,ada,fo
rtran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --ena
ble-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-s
pecific-runtime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.0 20100311 (experimental) (GCC)
bash.exe-3.1$ ld -v
GNU ld (GNU Binutils) 2.20
bash.exe-3.1$ uname -a
MINGW32_NT-5.1 raven 1.0.14(0.47/3/2) 2010-03-17 23:02 i686 Msys