Mail Archives: djgpp-announce/2005/02/28/08:22:50
This is a port of GNU Bison 2.0 to MSDOS/DJGPP.
DJGPP specific changes.
=======================
- The DJGPP port of Bison offers LFN and SFN support depending on which OS it
is running. If LFN support is available or not is determinated at run time.
If LFN support is available (DOS session under Win9X), the standard posix
file name extensions will be used. These are: y.tab.c, y.tab.c++, y.tab.h,
y.output, etc. If only SFN support is available (plain DOS), then the
standard MSDOS short file names will be used. These are: y_tab.c, y_tab.h,
y.out, etc.
- It should be noticed that this version of Bison uses the m4 program as a
backend to generate the parser file (e.g. y_tab.c, etc.) from the skeleton
files. This means that m4 *must* be installed and available when bison's is
invoked or bison will not be able to generate the parser file. m4 will use
a couple m4 scripts that will be installed in /dev/env/DJDIR/share/bison.
- It should also be noticed that the two skeleton files bison.simple and
bison.hairy are no longer used nor supported anymore. This applies also to
the two environment variables BISON_HAIRY and BISON_SIMPLE.
Those variables are *no* longer honored at all. This implies that you can
no longer use these variables to point bison to an alternative skeleton file.
Use the command line option `-S' instead.
- The skeleton file bison.simple is now called yacc.c and is an m4 script.
Please notice that the grammar type coded in the skeleton file bison.hairy
is no longer supported by the bison maintainer. The other two skeleton
files supported by this bison version are glr.c and lalr1.cc. The first one
is a generalized LR C parser based on Bison's LALR(1) tables and the
second one is a experimental C++ parser class.
For futher information about GNU bison please read the info docs and NEWS file.
Please also note that the testsuite will only work if LFN are available.
The port consists of the usual three packages that have been compiled
using stock djdev203 and that can be downloaded from ftp.delorie.com
and mirrors as (timestamp 2005-02-18):
Bison 2.0 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bsn20b.zip
Bison 2.0 dvi, html, ps and pdf format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bsn20d.zip
Bison 2.0 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bsn20s.zip
For the convenience of the WinXP users the binaries has been produced
a second time using the djdev204 beta library. This package is available
at ftp.delorie.com and mirrors as (timestamp 2005-02-18):
Bison 2.0 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/bsn20b.zip
Send GNU bison specific bug reports to <bug-bison AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port to
comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT igd DOT fhg DOT de>
- Raw text -