MTD 248-645A Manual de usuario Pagina 150

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 347
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 149
Linux From Scratch - Version 7.0
130
6.26. Bison-2.5
The Bison package contains a parser generator.
Approximate build time: 1.1 SBU
Required disk space: 19.2 MB
6.26.1. Installation of Bison
Prepare Bison for compilation:
./configure --prefix=/usr
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' >> lib/config.h
Compile the package:
make
To test the results (about 0.5 SBU), issue:
make check
Install the package:
make install
6.26.2. 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.a The Yacc library containing implementations of Yacc-compatible yyerror and main functions; this
library is normally not very useful, but POSIX requires it
Vista de pagina 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 346 347

Comentarios a estos manuales

Sin comentarios