This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Configure, Mpfr version
- From: Tobias Schlüter <Tobias dot Schlueter at physik dot uni-muenchen dot de>
- To: Philippe Schaffnit <P dot Schaffnit at access dot rwth-aachen dot de>
- Cc: GFortran <fortran at gcc dot gnu dot org>
- Date: 2007年10月24日 15:45:07 +0200
- Subject: Re: Configure, Mpfr version
- References: <471F4AEF.A11A4E68@access.rwth-aachen.de>
Philippe Schaffnit wrote:
I am running into configuration issues under CygWin (I don't know
whether this has anything to do with the platoform, though): it
complains that my Mpfr is too old, whereas it's not! Could it be that is
it only checking that it's 2.2.? (sorry, the configure script is beyond
me...)
/cygdrive/z/configure --prefix=/Tools/Gcc --enable-languages=c,fortran
--disable-maintainer-mode --with-mpfr=/Tools/Mpfr --with-gmp==/Tools/Gmp
--with-htmldir
...
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
egrep MPFR_VERSION_STRING /Tools/Mpfr/include/mpfr.h
#define MPFR_VERSION_STRING "2.3.0"
It's been a while since I've seen something similar but IIRC the
configure check puts gmp's include dir before the mpfr dir. The mpfr
which is distributed with gmp thus overrides the one given with
--with-mpfr if -with-gmp is given. I can't seem to recall a way around
this. Even though this is probably not helpful by itself, it will
hopefully give a configure guru a hint where to look.
Cheers,
- Tobi