[gcc] can't build current trunk: ar: .libs/libgomp.lib: File format not recognized
Paolo Bonzini
bonzini@gnu.org
Mon Jan 25 22:21:00 GMT 2010
> This probably is a new version of PR41418 then. We have the problem that
> fortran is turned on in --enable-languages, so libgomp configure expects the
> fortran compiler to be available.
Does this fix it for you?
Index: configure.ac
===================================================================
--- configure.ac (revision 155240)
+++ configure.ac (working copy)
@@ -146,7 +146,11 @@ case `echo $GFORTRAN` in
-* | no* )
FC=no ;;
*)
- FC="$GFORTRAN" ;;
+ if test -x "$GFORTRAN"; then
+ FC="$GFORTRAN"
+ else
+ FC=no
+ fi ;;
esac
AC_PROG_FC(gfortran)
FCFLAGS="$FCFLAGS -Wall"
(untested)
Paolo
More information about the Gcc
mailing list