This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: Configure, Mpfr version


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


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

AltStyle によって変換されたページ (->オリジナル) /