Skip to content

byacc

  • May use bison instead
  • --program-prefix=b is needed to install byacc as byacc and not yacc, the latter is a symlink provided later on yacc -> byacc
  • btyacc is enabled by default:
    • This increases compatibility with bison and allows byacc -B to be used
    • This also means that backtracking features like %destructor and %locations are now supported
  • --enable-stdnoreturn is redundant as clang treats _Noreturn and __attribute__((noreturn)) identically; neither is posix but musl prefers _Noreturn over a gcc extension
  • --disable-echo silences compiler messages
  • --disable-leaks performs memory-leak testing
  • --with-dmalloc, --with-dbmalloc and --with-valgrind are for testing
  • --without-manpage-format does not work, use --with-manpage-format=normal instead
  • --without-man2html prevents checking for man2html which glaucus does not provide
  • Do not pass --with-system-type as it overrides --host
  • Replaces bison -y