problem building at step 5.5.1

Bruce Dubbs bruce.dubbs at gmail.com
Wed Nov 24 15:28:32 PST 2010


robert wrote:
> Arrived at step 5.5.1, Installation of Cross GCC.
> 
> I am using "LFS-BOOK-6.7-HTML/chapter05/gcc-pass1.html"
> 
> I have unpacked the mpfr, gmp, and mpc tarballs and renamed the 
> resulting directories as instructed

What was your directory location when you unpacked the tarballs?
It should have been /mnt/lfs/sources/gcc-4.5.1.

   -- Bruce


> I created /mnt/lfs/sources/gcc-build directory
> then, cd /mnt/lfs/sources/gcc-build
> I issued the "prepare for compilation" configure command (copy and paste)
> 
> when I issue "make" command, I receive the following error message:
> 
> ++++++++++++++++++++
> 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.
> ++++++++++++++++++++
> 
> I don't understand the syntax of --with-gmp ... 
> --with-gmp=/mnt/lfs/sources/gmp????
> 
> Thanks in advance for your help.
> 




More information about the lfs-support mailing list