On 3/12/12 7:25 AM, Pierre Labastie wrote:
> Le 12/03/2012 10:18, Andrew Benton a écrit :
>> I've only just woken up so I've not had time to check, but looking at
>> the output above I'm pretty sure ${LFS_TGT} is set because I can see
>> lots of `x86_64-lfs-linux-gnu'. I also think it's doing a bootstrap
>> build because it's using xgcc. So are you saying that passing
>> --target=x86_64-lfs-linux-gnu to gcc's configure should have the effect
>> of passing --disable-bootstrap? We use --disable-bootstrap the second
>> time we install gcc, but not the first.

Yes, when you are cross compiling you (typically) can't bootstrap, so 
they disable the bootstrap if it's determined you are building a cross 
compiler. So where we would normally need the --disable-bootstrap 
switch, we don't here, but the effect is the same.

> Andy, I think the fragment you have sent is from libgcc's configure.
> libgcc is always built with xgcc. When cross-compiling, this makes sense
> since libgcc is a library for the target.

Yes, I believe Pierre is correct here.

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

Reply via email to