--i didnot/did't add following line to binutils configure
"is this required "CC="gcc-B/usr/bin/" add---
i think i miss typed as dint-sorry for this
1)here i checked with make test/check following result
here error was showing means not installed?
------------binutils-----------------------------------
lfs:/mnt/lfs/sources/binutils-build$ make check
make[1]: Entering directory `/mnt/lfs/sources/binutils-build'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[2]: *** No rule to make target `check'. Stop.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[1]: *** [check-bfd] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
make: *** [do-check] Error 2
2)------------------------------gcc----------------------------------------------------------------------------
lfs:/mnt/lfs/sources/gcc-build$ ../gcc-4.5.1/configure \
> --target=$LFS_TGT --prefix=/tools \
> --disable-nls --disable-shared --disable-multilib \
> --disable-decimal-float --disable-threads \
> --disable-libmudflap --disable-libssp \
> --disable-libgomp --enable-languages=c \
> --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
> --without-ppl --without-cloog
""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. Source code for these libraries 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, MPFR and/or MPC 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.
-------------------------------------------------------------------------------------
3)in /mnt/lfs/sources ,gmp-5.0.1.tar.bz2,mpfr-3.0.0.tar.bz2,mpc-0.8.2.tar.bz2 was there prevoiusly
the following message was after gcc configure,u can see top also
""configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.""
then i downloaded from google following pkgs
gmp-4.2.1.tar.gz,mpfr 2.3.1.tar.gz,mpc 0.8.0.tar.gz
i untared it ,moved to what they mentioned in book
again same error
i think this is not a case( error),see result of gcc configure at last lines ie
""if you obtained GMP, MPFR and/or MPC 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.""
i think i need to check libraries,headers of gmp-5.0.1.tar.bz2,mpfr-3.0.0.tar.bz2,mpc-0.8.2.tar.bz2 packages in /mnt/lfs/sources right