Lázaro Morales wrote: > Thanks to all for the help, > > I decide start the project from zero using a clean installation of Debian > 6 32bit only for this purpose. So I compile "binutils" successfully on a > dedicated directory as you and the book say but when I try with "gcc" I > get this new error: > > [...] > checking whether gcc __attribute__ ((mode (XX))) works... yes > checking for recent GMP... yes > checking for __gmpz_init in -lgmp... no > configure: error: libgmp not found or uses a different ABI. > Please read the INSTALL file -- see "In case of problem". > make[1]: *** [configure-mpfr] Error 1 > make[1]: Leaving directory `/media/lfs/sources/gcc-build' > make: *** [all] Error 2
It sounds like you did not change to the gcc-4.6.1 directory before you did: tar -jxf ../mpfr-3.0.1.tar.bz2 mv -v mpfr-3.0.1 mpfr tar -jxf ../gmp-5.0.2.tar.bz2 mv -v gmp-5.0.2 gmp tar -zxf ../mpc-0.9.tar.gz mv -v mpc-0.9 mpc Please go back and review section 5.3 carefully. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page