I tried to install gfortran following the instructions on the webpages http://gcc.gnu.org/fortran/ http://gcc.gnu.org/wiki/GFortranBinaries http://gcc.gnu.org/wiki/GFortranBinariesWindows
I did the installation two times once on a Windows XP, where MinGWin has been installed since more than a year. This installation worked properly and was able to compile samoe sample fortran programs. But the real target computer had a Windows 98 system and yet no gcc installation at all. And several attempts to get a working installation failed. The above mentioned webpages including the there linked pages did not provide any hint to solve the problem. First I installed the downloaded file gfortran-windows.exe without any changes. In a second attempt I tried to install a complete MinGWin environment first using MinGW-4.1.0.exe. After a reboot I repeated the gfortran installation twice into the proposed directory C:\Programme\gfortran and into the MingWin directory Each of the decribed installation trys resulted in a working compiler which is invocable with gfortran -v But the attempt to compile programs results in the error message C:\>gfortran x.f GFORTRAN.EXE: _spawnv: No such file or directory I have no explanation and I didn't find help on the gfortran webpages. Using the djgpp-Windows software too and seeing that in the djgpp mirrors there is a file gfor401b/d.zip I tried a second and different installation of gfortran. This installation results on both systems (Windows XP and Windows 98) in the error message when linking the program: C:\djgpp>gfortran x.f c:/djgpp/bin/../lib/gcc/djgpp/4.01/libgfortran.a(write.o):: undefined reference to `_finite' c:/djgpp/bin/../lib/gcc/djgpp/4.01/libgfortran.a(normalize.o):: undefined reference to `_nextafterf' c:/djgpp/bin/../lib/gcc/djgpp/4.01/libgfortran.a(normalize.o):: undefined reference to `_nextafter' collect2: ld returned 1 exit status The version is correctly indicated too: C:\djgpp>gfortran -v Using built-in specs. Target: djgpp Configured with: /gnu/gcc-4.01/configure djgpp -- prefix=/dev/env/DJDIR --disable-nls --disable-werror --disable- checking --enable-languages=c,ada,c++,f95,objc Thread model: single gcc version 4.0.1 I would be grateful if anybody could help me solving the problem. -- Summary: installation of gfortran failed after deveral trys Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: frank dot braun at rz dot uni-regensburg dot de GCC build triplet: gcc 4.2.0 20051126 GCC host triplet: pentium Windows 98 and Windows XP GCC target triplet: i686-pc-mingwin32 / gfortran http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25178