From: Fred Fish Date: Mon, 3 May 1993 00:57:36 +0000 (+0000) Subject: Add info about bison, byacc, and yacc. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=0f805efc733ffb3c14d7231e289b2cf1ccf7bf3f;p=deliverable%2Fbinutils-gdb.git Add info about bison, byacc, and yacc. --- diff --git a/gdb/doc/snapshots.readme b/gdb/doc/snapshots.readme index e7ae9a9537..3b56fde0ae 100644 --- a/gdb/doc/snapshots.readme +++ b/gdb/doc/snapshots.readme @@ -150,6 +150,28 @@ Here are some simple guidelines for submitting patches: like. The emacs command ^X4A will create a ChangeLog entry header for you. +BISON and BYACC + +For various reasons, Cygnus uses byacc rather than bison by default. When +a general gdb distribution is made, this default is switched back to bison. +The snapshots follow the Cygnus default. Your options, if you do not already +have byacc installed, include: + + o Hack the upper level Makefile.in lines that look like: + + BISON = `if [ -f $${rootme}/byacc/byacc ] ; \ + then echo $${rootme}/byacc/byacc ; \ + else echo byacc ; \ <== change + fi` + + to replace byacc with yacc. + + o Fetch the byacc snapshot from the same location as the gdb snapshots + and install byacc. + + o Specify BISON=yacc on the make command line to override the default. + + Thanks for your help and support. -Fred Fish