Cross-LFS 5.10. Glibc-2.3.5 typo?

Nick Matteo kundor at kundor.org
Sat Apr 23 09:35:57 PDT 2005


On Saturday 23 April 2005 12:29, Jeremy Utley wrote:
> 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-

Read his email again, that's exactly what he said, and NOT what the book says.



More information about the lfs-dev mailing list