Installation of gcc 4.3.0 on AIX

Ian Lance Taylor iant@google.com
Tue Jul 15 15:32:00 GMT 2008


"Vardhan, Sundara (GE Infra, Energy)" <sundara.vardhan@ge.com> writes:

>  ./configure --prefix=/usr/local --with-gmp=/usr/local --with-mpfr=/usr/local --enable-languages=c,c++,fortran,java

Don't run "./configure".  Read the installation instructions.

> 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.3.0+.
> Try the --with-gmp and/or --with-mpfr options to specify their locations.
> Copies of these libraries' source code can be found at their respective
> hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
> See also http://gcc.gnu.org/install/prerequisites.html for additional info.
> If you obtained GMP and/or MPFR 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.

Did you ensure that gmp and mpfr were built in 32-bit mode?  See
http://gcc.gnu.org/install/specific.html#x-ibm-aix .

Ian



More information about the Gcc-help mailing list