Hi there, sorry for writing again on this issue, but I have not been able to
solve the problem with the configure command on GCC 4.3 due to the
dependency on MPFR and GMP.

I have them both installed correctly and the headers are in their own build
directories, while the library files (*.a) are in /usr/local/lib.
This verified, I tried different options among which the following,

../configure --with-gmp=/Users/simone/myApplications/gmp-4.2.4/
--with-gmp-lib=/usr/local/lib/libgmp.a
--with-mpfr=/Users/simone/myApplications/mpfr-2.4.0/
--with-mpfr-lib=/usr/local/lib/libmpfr.a

but obtaining again the same error from the configure call:

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.


Why is this happening? What is it that I am not telling the configure to do
?

Thank you in advance
S.M.






dilip_ wrote:
> 
> Hi,
> I am trying to build a cross compiler toolchain using 'crossdev 'and the
> gcc source version is gcc-4.3.0 
> 
> I am getting following errors while configuring gcc-stage1, 
> {{
> 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.
> 
> !!! ERROR: cross-sh4-unknown-linux-gnu/gcc-4.3.0 failed.
> Call stack:
> }}
> 
> I understand the pre-requisite for gcc-4.3 is mpfr 4.1+ but I am not
> sure how to pass '--with-mpfr' configure options to gcc.
> 
> Any help will be highly appreciated 
> 
> With kind regards,
> Dilip  
> --
> [email protected] mailing list
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/GCC-4.3-fails-on-mpfr-tp17081314p21911962.html
Sent from the gentoo-embedded mailing list archive at Nabble.com.


Reply via email to