diff -Naur -x '*.rej' -x '*.orig' -x '*~' ExtUtils-F77-1.17/F77.pm ExtUtils-F77-1.17-gfortran/F77.pm --- ExtUtils-F77-1.17/F77.pm 2011-01-01 01:53:06.000000000 +0000 +++ ExtUtils-F77-1.17-gfortran/F77.pm 2011-01-02 12:29:42.000000000 +0000 @@ -90,7 +90,7 @@ my @libs = ('g2c', 'f2c'); my ($dir, $lib, $test); foreach $test (@libs) { - $dir = `g77 -print-file-name=lib$test.a`; + $dir = `gfortran -print-file-name=lib$test.a`; chomp $dir; # Note that -print-file-name returns just the library name # if it cant be found - make sure that we only accept the @@ -127,7 +127,7 @@ $F77config{MinGW}{G77}{Trail_} = 1; $F77config{MinGW}{GFortran}{Trail_} = 1; -$F77config{MinGW}{G77}{Compiler} = find_in_path('g77','f77','fort77'); +$F77config{MinGW}{G77}{Compiler} = find_in_path('g77','f77','fort77','gfortran'); $F77config{MinGW}{GFortran}{Compiler} = "$gfortran"; $F77config{MinGW}{G77}{Cflags} = '-O'; $F77config{MinGW}{GFortran}{Cflags} = '-O';