[lfs] error compiling gcc in Pass 1

Justin Mattock justinmattock at gmail.com
Fri Jun 12 08:15:40 PDT 2009


On Fri, Jun 12, 2009 at 7:13 AM, Mike McCarty<Mike.McCarty at sbcglobal.net> wrote:
> Ankur Sinha wrote:
>> On Fri, 2009-06-12 at 13:42 +0530, Aditya Bankar wrote:
>
> [...]
>
>>> 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.
>
> The general instructions provide the clue needed there, I think.
> Each section presupposes that one has untar'd the source, and
> then cd'd to the resultant directory, before performing any
> of the instructions associated with the package.
>
>> 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?
>
> Umm, I thought the explanation was pretty clear. What is there
> about needing to build a compiler in order to build that needs
> explaining?
>
> Perhaps you mean the reason one needs to get the associated
> packages and untar them in the gcc directory? That's simply
> a matter of how the FSF decided to package gcc. You'd have
> to ask them, not the LFS team.
>
> Mike
> --
> p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
> Oppose globalization and One World Governments like the UN.
> This message made from 100% recycled bits.
> You have found the bank of Larn.
> I speak only for myself, and I am unanimous in that!
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>

I didn't know you can put mpfr/gmp in the gcc source tree
and have gcc build them automatically.
(was aware of different languages that can be added).

I'm happy with compile mpfr, and gmp separately, then
compiling gcc,etc...

-- 
Justin P. Mattock



More information about the lfs-support mailing list