6.36. Bison-3.0.4
The Bison package contains a parser generator.
Approximate build time:
2.3 SBU
Required disk space:
40 MB
6.36.1. Installation of Bison
6.36.2. 32-bit Installation
Prepare Bison for 32-bit compilation:
./configure --prefix=/usr \
--docdir=/usr/share/doc/bison-3.0.4 \
--libdir=/usr/lib32 \
CC="gcc -m32" CXX="g++ -m32"
Compile the package:
make
To test the results (about 0.5 SBU), issue:
make check
Install the package:
make install
Clean up the build directory before moving on to the next platform:
make mostlyclean
6.36.3. x32 ABI Installation
Prepare Bison for x32 ABI compilation:
./configure --prefix=/usr \
--docdir=/usr/share/doc/bison-3.0.4 \
--libdir=/usr/libx32 \
CC="gcc -m32" CXX="g++ -mx32"
Compile the package:
make
To test the results (about 0.5 SBU), issue:
make check
Install the package:
make install
Clean up the build directory before moving on to the next platform:
make mostlyclean
6.36.4. 64-bit Installation
Prepare Bison for 64-bit compilation:
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.0.4
Compile the package:
make
To test the results (about 0.5 SBU), issue:
make check
Install the package:
make install
6.36.5. Contents
of Bison
Installed programs:
bison and yacc
Installed library:
liby.a
Installed directory:
/usr/share/bison
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)
|
yacc
|
A wrapper for bison, meant for
programs that still call yacc instead of
bison; it
calls bison
with the -y
option
|
liby
|
The Yacc library containing implementations of
Yacc-compatible yyerror and
main functions; this
library is normally not very useful, but POSIX requires
it
|