GMP and MPFR

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Mon Oct 6 16:35:58 PDT 2008


DJ Lucas wrote:
> I do not have all the details in front of me, but somebody said that gcc 
> failed if gmp was not on the host in pass1.  Greg pointed us to a DIY 
> thread that showed how to build with GCC.  There was no _need_ to build 
> inline beyond that point, because that fixed the problem of the extra 
> host system requirement.  The extra packages are minimal, and required 
> one way or the other.  Shared seems better IMO as I use GMP anyway.  It 
> might not be a bad idea (less maintenance) to build the same way for 
> both early builds and only build gmp and mpfr standalone for the final, 
> though I haven't tried that yet.

Understood. This explanation as with others that appeared on the thread 
have answered the question adequately, I think. I don't have any 
problems with installing them to the final system. I was going to ask 
what you thought about making both passes in chapter 5 the same, but 
you've touched on that as well. I don't suppose it makes a big 
difference there. The only advantages I can see for building inline for 
both passes are perhaps a slightly smaller set of temporary tools, a 
marginal amount of time saved by the user (especially if building by 
hand) and, again, slightly less chance of error. Nothing really there 
that I think it's worth making a stink about.

Anyway, I think I'm satisfied on this point. Thanks, everyone, for the 
input.

--
JH




More information about the lfs-dev mailing list