Details on this package are located in Section 10.27.2, “Contents of Bison.”
The Bison package contains a parser generator.
Apply a sed which
disables the building of bison.help
when cross-compiling.
cp -v Makefile.in{,.orig} sed '/bison.help:/s/^/# /' Makefile.in.orig > Makefile.in
The configure script does not determine the correct value for the following. Set the value manually:
echo "ac_cv_prog_lex_is_flex=yes" > config.cache
Prepare Bison for compilation:
CC="${CC} ${BUILD64}" M4=m4 ./configure --prefix=/tools \ --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --cache-file=config.cache
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.27.2, “Contents of Bison.”