This is the mail archive of the
mailing list for the GCC project.
Re: Including GMP/MPFR in GCC repository?
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org, fortran at gcc dot gnu dot org, paul at codesourcery dot com, kargl at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Oct 2006 11:50:52 -0700
- Subject: Re: Including GMP/MPFR in GCC repository?
- References: <Pine.GSO.firstname.lastname@example.org> <452B11F1.email@example.com> <Pine.GSO.firstname.lastname@example.org> <20061012053416.GA5111@troutmask.apl.washington.edu> <Pine.GSO.email@example.com>
On Thu, Oct 12, 2006 at 02:14:53PM -0400, Kaveh R. GHAZI wrote:
> On Wed, 11 Oct 2006, Steve Kargl wrote:
> > It should be straight forward to modify the current configure tests
> > in toplevel for the versions of gmp and mpfr you need. I would
> > recommend at least mpfr 2.2.0 (which would allow me to kill the ugly
> > hacks in gfortran). For gmp, you may be able to use a version as
> > old as 4.1.0.
> Like this? I combined the two MPFR tests into one and had it stop if
> configure can't find the right versions of the libraries.
> Tested on sparc-sun-solaris2.10 via "configure" with no GMP/MPFR, with an
> older MPFR version and with current versions. It did the "right thing" in
> all cases.
> Okay for stage1?
The patch looks okay to me, but you'll need one of the
build machinery people to approve the patch.