r8518 - in trunk/BOOK: . chapter01 prologue
Sukucorp Sukucorp
sukucorp at gmail.com
Fri Apr 11 16:40:27 MDT 2008
On Fri, Apr 11, 2008 at 4:30 PM, Dan Nicholson <dbn.lists at gmail.com> wrote:
>
> yacc (bison) - Definitely needed since we patch the bash parse.y file
> in Ch. 5 and yacc will need to be rerun. Could add bison to Ch. 5
> before bash, but IMO it's easier for the host to just install bison.
I don't remember if bash calls bison or yacc. If it is the former, we
don't need to check yacc -> bison symlink.
> awk - Definitely needed by the glibc build, and gawk in particular due
> to use of some non-portable features.
glibc needs gawk but it doesn't need awk -> symlink.
> bash - Not needed for actual building, but glibc's ldd and tzselect
> need either bash or ksh to work. The values will be substituted at
> configure time. I don't know what happens without them, and it's
> probably not that important in Ch. 5 if those utilities aren't there.
> However, we create the LFS user with /bin/bash as the login shell, and
> this can't be substituted as is because we set up the environment
> through the bash initialization files.
Ditto. bash has to be installed but need not be the default shell.
Randy echoed my thoughts in a much better manner. We should not check
for something if the result of the check does not make any difference
in the build.
--
Tushar Teredesai
mailto:tushar at linuxfromscratch.org
http://www.linuxfromscratch.org/~tushar/
More information about the lfs-dev
mailing list