This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
installation problem
- From: "Frank Thomas Braun" <frank dot braun at rz dot uni-regensburg dot de>
- To: fortran at gcc dot gnu dot org
- Date: Wed, 30 Nov 2005 09:56:57 +0100
- Subject: installation problem
- Organization: Universitaet Regensburg
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.
Frank BraunFrank Braun
Rechenzentrum
Universitaetsstrasse 31
D-93053 Regensburg
Germany
Tel.: +49-941-943-4891
email: frank.braun@rz.uni-regensburg.de