source: chapter06/bison.xml@ f208a1c

6.1 6.1.1
Last change on this file since f208a1c was 74a8136, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Typos. Ported from trunk r6137

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@6138 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1770019]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[81fd230]6<sect1 id="ch-system-bison" role="wrap">
[673b0d8]7<title>Bison-&bison-version;</title>
8<?dbhtml filename="bison.html"?>
9
10<indexterm zone="ch-system-bison"><primary sortas="a-Bison">Bison</primary></indexterm>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[81fd230]13<para>The Bison package contains a parser generator.</para>
[5888299]14
[a001133]15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
[fc1024a]18<seglistitem><seg>0.6 SBU</seg><seg>9.9 MB</seg></seglistitem>
[a001133]19</segmentedlist>
20
[81fd230]21<segmentedlist>
[45992ae]22<segtitle>&dependencies;</segtitle>
[81fd230]23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
24GCC, Gettext, Glibc, Grep, M4, Make, and Sed</seg></seglistitem>
25</segmentedlist>
[a001133]26</sect2>
[73aedd1d]27
[a001133]28<sect2 role="installation">
[73aedd1d]29<title>Installation of Bison</title>
30
[9dfc02f]31<para>Prepare Bison for compilation:</para>
[73aedd1d]32
33<screen><userinput>./configure --prefix=/usr</userinput></screen>
34
35<para>Compile the package:</para>
36
37<screen><userinput>make</userinput></screen>
38
[673b0d8]39<para>To test the results, issue:
[8a5f906]40<userinput>make check</userinput>.</para>
[73aedd1d]41
[81fd230]42<para>Install the package:</para>
[73aedd1d]43
44<screen><userinput>make install</userinput></screen>
45
46</sect2>
[6370fa6]47
[c6cb3aa]48<sect2 id="contents-bison" role="content"><title>Contents of Bison</title>
[673b0d8]49
[81fd230]50<segmentedlist>
51<segtitle>Installed programs</segtitle>
52<segtitle>Installed library</segtitle>
53<seglistitem><seg>bison and yacc</seg><seg>liby.a</seg></seglistitem>
54</segmentedlist>
55
56<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
57<?dbfo list-presentation="list"?>
[8f97096]58<?dbhtml list-presentation="table"?>
[81fd230]59
60<varlistentry id="bison">
61<term><command>bison</command></term>
62<listitem>
[74a8136]63<para>Generates, from a series of rules, a program for analyzing the
[81fd230]64structure of text files; <application>Bison</application> is a
65replacement for <application>Yacc</application> (Yet Another Compiler
66Compiler)</para>
67<indexterm zone="ch-system-bison bison"><primary sortas="b-bison">bison</primary></indexterm>
68</listitem>
69</varlistentry>
70
71<varlistentry id="yacc">
72<term><command>yacc</command></term>
73<listitem>
[74a8136]74<para>A wrapper for <command>bison</command>, meant for programs
[81fd230]75that still call <command>yacc</command> instead of <command>bison</command>;
76it calls <command>bison</command> with the <parameter>-y</parameter> option</para>
77<indexterm zone="ch-system-bison yacc"><primary sortas="b-yacc">yacc</primary></indexterm>
78</listitem>
79</varlistentry>
80
81<varlistentry id="liby.a">
82<term><filename class="libraryfile">liby.a</filename></term>
83<listitem>
[74a8136]84<para>The Yacc library containing implementations of Yacc-compatible
[81fd230]85<emphasis>yyerror</emphasis> and <emphasis>main</emphasis> functions;
86this library is normally not very useful, but POSIX requires
87it</para>
88<indexterm zone="ch-system-bison liby.a"><primary sortas="c-liby.a">liby.a</primary></indexterm>
89</listitem>
90</varlistentry>
91</variablelist>
[673b0d8]92
93</sect2>
94
95</sect1>
[81fd230]96
Note: See TracBrowser for help on using the repository browser.