Windows MinGW binaries now available

Mark Hadfield m.hadfield@niwa.co.nz
Mon Jan 17 23:12:00 GMT 2005


François-Xavier Coudert wrote:
> I just made mingw binaries for gfortran, and updated the Wiki 
> accordingly (direct download link: 
> http://quatramaran.ens.fr/~coudert/gfortran/gfortran-mingw.zip). I'll 
> try to get regular (let's say weekly) mingw binaries, so that Windows 
> users can test gfortran. Please feel free to report any success or 
> failure to use this build on your computer (built on i686, Win XP).

On this list? OK.

I have Windows 2000 with an up-to-date installation of Mingw. I 
extracted your ZIP file to D:\Temp and built & run a "Hello world" 
program with D:\Temp\gfortran-mingw\bin\gfortran.exe. That worked OK, 
but when I tried to repeat my success on a program with 2 source files, 
compiling the files separately then linking them, all with gfortran.exe, 
I got

ld: crt2.o: No such file: No such file or directory

So I moved all the subdirectories of D:\Temp\gfortran-mingw (bin, lib, 
etc) into my existing Mingw installation, overwriting as necessary. (I'm 
a brave lad, and I don't use Mingw for anything serious yet, some I'm 
not worried about breaking it.) Now it seems to work on all the tests I 
have tried so far.

How was I supposed to install it, anyway? Should your gfortran-mingw 
files stand alone, or should they be installed over an existing Mingw 
set-up?

On comp.lang.fortran I noticed a post from someone (experienced with 
Fortran, not so experienced with MinGW or Cygwin) who got the linker 
error above and expressed some impatience about this. I'm *not* 
expressing impatience, but the process of installing needs to be made 
more user-friendly and robust. (I'm glad to help.)


-- 
Mark Hadfield            "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)



More information about the Fortran mailing list