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

Daniel Jacobowitz drow@false.org
Mon Nov 27 21:51:00 GMT 2006

On Mon, Nov 27, 2006 at 11:53:23AM -0800, Mark Mitchell wrote:
> I continue to believe that incorporating these libraries into our tree
> is a bad idea, and that even including machinery to use in-tree copies
> is a bad idea, at least until we have staged installation support.  I
> think GCC should be a stand-alone software package.  However, as before,
> I'll confine myself to trying to persuade, rather than trying to
> interfere, as I realize that a lot of people presently use the "in-tree
> build" process.

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:

	$(MAKE) -C mpfr all
	$(MAKE) -C mpfr install DESTDIR=$$PWD/mpfr/install \
		libdir=/lib includedir=/include

Daniel Jacobowitz

More information about the Gcc-patches mailing list