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

Please I will appreciate if you can help me.

Thanks very much,
Lázaro.


En 04/10/2011 22:12:39, Partha Chowdhury <parthachowdhur...@gmail.com>  
escribió:

> On 04/10/11 06:36 PM, Lázaro Morales wrote:
>>   What I don't understand is Why when I execute configure:
>>
>> $ ./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
> LFS Book 6.8 chapter 5.5.1 - "Installation of cross gcc - pass 1" the
> above configure step should be -
>
>> ../gcc-4.5.2/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
> It looks like you are running configure in the gcc source
> directory.Please run it in a dedicated build directory as shown in the  
> book.

Este mensaje de correo electrónico ha sido procesado por el servidor de 
Frioclima


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to