I am executing the 'configure' script for building gcc 4.7.0 in a cygwin environment on an xp/sp-3 system. I am getting an error when it sees the --with-gmp, --with-mpfr and --with-mpc for the libraries GMP, MPFR and MPC. I have all three in the subdirectories gmp, mpfr and mpc under gcc-4.7.0, Thanks.
the build command is:
gcc-4.7.0/configure --enable-languages=c,c++,,objc,obj-c++ --disable-nls --disable-shared --disable-decimal-float --disable-sjlj-exceptions --with-dwarf2 --with-gmp=gcc-4.7.0/gmp --with-mpfr=gcc-4.7.0/mpfr/src --with-mpc=gcc-4.7.0/mpc/src --enable-static --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw../configure --enable-languages
the output is:
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
. See also
for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages.