compile new gcc 4.3.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to update my gcc from 4.0 to 4.3.2 on my G5 Mac running OS 10.4.11. This is a 64-bit machine, ppc970. Output from uname is

Darwin cassava.atmo.arizona.edu 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

Anyway, I have gmp version 4.2.2 and mpfr version 2.3.2. I installed gmp a while back. Just updated to a newer version of mpfr today from 2.3.1, which I installed when I installed gmp. When I try to run ./ configure in the gcc directory I get,

[cassava:local/gcc/4.3.2] serra% sudo ./configure --with-gmp-lib=/usr/ local/lib --with-gmp-include=/usr/local/include --with-mpfr-lib=/usr/ local/lib --with-mpfr-include=/usr/local/include
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8.11.0
checking target system type... powerpc-apple-darwin8.11.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
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 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.2+.
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.
[cassava:local/gcc/4.3.2] serra%


What more can I do to get the configure script to see the mpfr.h file? I've checked and it is in /usr/local/include and is the newer version. ???


Thanks, Yolande




----------------------------------------------------------
Yolande Serra, Assoc. Research Prof.
Department of Atmospheric Science
524 PAS Bldg
1118 E 4th St, P.O. Box 210081
University of Arizona
Tucson, AZ 85721-0081
Tel: (520) 621-6619; Fax: (520) 621-6833





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux