[lfs] error compiling gcc in Pass 1

Justin Mattock justinmattock at gmail.com
Fri Jun 12 07:01:23 PDT 2009


On Fri, Jun 12, 2009 at 2:16 AM, Philippe
Delavalade<philippe.delavalade at club-internet.fr> wrote:
> Le vendredi 12 juin à 10:26, Ankur Sinha a écrit :
>> On Fri, 2009-06-12 at 13:42 +0530, Aditya Bankar wrote:
>> > Hi Ankur,
>> >
>> > It seems that you have got confused with the instructions related to the mpfr library in gcc's compilation article.
>> > You can read this in section 5.5.1:
>> > tar -jxf ../mpfr-2.3.2.tar.bz2
>> > mv mpfr-2.3.2 mpfr
>> > tar -jxf ../gmp-4.2.4.tar.bz2
>> > mv gmp-4.2.4 gmp
>> >
>> > This has to be done inside the gcc's source directory. If you have unzipped it outside the gcc's source directory then mpfr would not be found. I had done the same thing.
>> >
>> > Thanks,
>> > Aditya
>> >
>> >
>>
>> hi,
>>
>> Thanks.
>>
>> I had figured it was a small error somewhere..
>>
>> Is there some documentation which provides _reasons_ as to what we are
>> doing? Or do we learn that as we read on?
>>
>
> May be you missed "5.3. General Compilation Instructions".
>
> Look at it !
>
> --------------
> Ph. Delavalade
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>

The best is an error with not using ABI=32
(but thats a different case)
I hit the same error, setting
--with-mpfr/gmp-include=/* --with-mpfr/gmp-lib=/*
helped get past that part.

-- 
Justin P. Mattock



More information about the lfs-support mailing list