I wrote a script to unpack them all at once from the /mnt/lfs/sources directory.
So then, I am to assume that I should unpack them from within the gcc-4.5.1 directory. I assumed that the ../tar business was unpacking them from gcc-build directory. Will try that now. r. Bruce Dubbs wrote: > 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. >> > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page