%general-entities; ]> Bison-&bison-version; Bison <para>The Bison package contains a parser generator.</para> </sect2> <sect2 role="installation"> <title>Installation of Bison Prepare Bison for compilation: ./configure --prefix=/usr --host=${LFS_TARGET} The configure system causes bison to be built without support for internationalization of error messages if a bison program is not already in $PATH. The following addition will correct this: echo '#define YYENABLE_NLS 1' >> config.h Compile the package: make Install the package: make DESTDIR=${LFS} install Contents of Bison Installed programs Installed library bison and yacc liby.a Short Descriptions bison Generates, from a series of rules, a program for analyzing the structure of text files; Bison is a replacement for Yacc (Yet Another Compiler Compiler) bison yacc A wrapper for bison, meant for programs that still call yacc instead of bison; it calls bison with the option yacc liby.a The Yacc library containing implementations of Yacc-compatible yyerror and main functions; this library is normally not very useful, but POSIX requires it liby.a