http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56269
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-09 22:57:37 UTC --- configure:12799: checking for Fortran compiler version configure:12808: --version >&5 ../gcc-4.7.2/libgfortran/configure: line 12810: --version: command not found You also seem like you are build libgfortran by itself which is not supported at all.