This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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:

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

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]