This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GMP test
- From: Andrew Pinski <pinskia at earth dot geop dot uc dot edu>
- To: paolo dot bonzini at lu dot unisi dot ch (Paolo Bonzini)
- Cc: pinskia at physics dot uc dot edu (Andrew Pinski), gcc at gcc dot gnu dot org (GCC Development), ghazi at caip dot rutgers dot edu (Kaveh R. GHAZI)
- Date: Mon, 23 Oct 2006 19:24:18 -0400 (EDT)
- Subject: Re: GMP test
>
>
> >> if test -d ${srcdir}/gcc && test x$have_gmp != xyes; then
> >> ...
> >> fi
> >>
> >> but I think that the whole test now belongs in the GCC subdirectory, not
> >> in the toplevel (it was anyway a hack for the sake of disabling Fortran).
> >
> > Moving it is not really a good thing anyways as you are able to configure
> > and then do a "make -j3" and it is hard to figure out why the build fail
> > because you don't have the correct version of GMP/MPRF.
>
> Maintainability first. If something fails with parallel make, and is
> reproducible with plain "make" (i.e. doesn't screw up the build
> directory), I don't see a reason not to move it. You'd do "make" anyway
> to check if a dependency is missing, wouldn't you?
But this is a different case as this error is for users rather than developers.
So instead of getting an error early before compiling, we get an error 10 to 20
minutes later and users get upset that they get an error this late for something
which could have been found early on.
-- Pinski