Andreas Velten wrote:
Okay .. found the problem myself: mingw wants the -lgfortran to appear after the file in the argument so thisThis is typical of linkers used with gcc. If there are no unsatisfied references at the point where a static library is searched, nothing will be copied from it.gcc -o hw hw.o -lgfortran works.