Skip to content
Prev 259026 / 398503 Next

Compiling a FORTRAN program under Windows 7

You are compiling a subroutine not a program and you compile line 
should read:

gfortran testit.f -c testit.o

You then reference that object code testit.o in your final loading 
stage after compiling other routiens and the main program.