RFA/RFC: Adding support for gmp and mpfr sources in the build tree

Mark Mitchell mark@codesourcery.com
Tue Nov 28 01:48:00 GMT 2006


Daniel Jacobowitz wrote:

> One could make the in-tree build of mpfr do a local installation.  The
> moral equivalent of this, though it would be more work to do it right,
> and I'm not sure how to avoid spurious rebuilding of things:
> 
> all-mpfr:
> 	$(MAKE) -C mpfr all
> 	$(MAKE) -C mpfr install DESTDIR=$$PWD/mpfr/install \
> 		libdir=/lib includedir=/include

Right!  That's the staged installation idea, except that you're
suggesting using a special MPFR installation directory, instead of a
generic $$PWD/install directory.

I have no objection to this idea; it is in fact what I would like to see
GCC do as well, so that we can run the testsuites without all of the
funny options and DejaGNU goo we use at present.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list