Cross-LFS 5.10. Glibc-2.3.5 typo?

Jeremy Utley jeremy at jutley.org
Sat Apr 23 09:29:54 PDT 2005


Erik-Jan wrote:

> Jim Gifford wrote:
>
>> Erik-Jan wrote:
>>
>>> Hi there,
>>>
>>> In cross-LFS, chapter 5.10 Glibc-2.3.5, configure, the book says:
>>> --host=${LFS_HOST} --build=${LFS_TARGET}
>>>
>>> Shouldn't that be the other way around?
>>> --host=${LFS_TARGET} --build=${LFS_HOST}
>>>
>>> From ./configure --help:
>>> --build=BUILD     configure for building on BUILD [guessed]
>>> --host=HOST       cross-compile to build programs to run on HOST 
>>> [BUILD]
>>>
>>> Bye
>>> Erik-Jan
>>
>>
>>
>> glibc is backwards compared to the rest of the packages
>>
>
> Ehm yes, that's my point.

If you think about it, it's correct.  You're building on the HOST, so 
you use --build=$LFS_HOST...but the glibc is going to run on the TARGET, 
so --host=$LFS_TARGET - it follows the documented way in glibc's 
configure --help.

-J-



More information about the lfs-dev mailing list