GCC Pass 2 Error - LFS-svn

Martin Zajíc <ZAJCA> zajcaa at gmail.com
Thu Sep 2 15:15:46 PDT 2010

Hi, I have error with GCC pass 2, pass 1 work's i don't know where is
the problem.

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... i686-lfs-linux-gnu-gcc -B/tools/lib/
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 i686-lfs-linux-gnu-gcc -B/tools/lib/ accepts -g... yes
checking for i686-lfs-linux-gnu-gcc -B/tools/lib/ option to accept ISO
C89... 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 objdir... .libs
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.  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.
/mnt/lfs/scripts/chap5/gccP2: line 140: --disable-libstdcxx-pch:
command not found

I have all folders on right place.
├── gcc-4.5.1
├── gcc-4.5.1-BUILD
├── gmp
├── mpc
└── mpfr

Martin Zajíc
E-mail: zajcaa at gmail.com
Jabber: zajcaa at gmail.com
Twitter: http://twitter.com/zajca

More information about the lfs-support mailing list