Configure, Mpfr version
Tobias Schlüter
Tobias.Schlueter@physik.uni-muenchen.de
Wed Oct 24 13:45:00 GMT 2007
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
More information about the Fortran
mailing list