source: chapter06/bison.xml@ aabd480

6.1 6.1.1
Last change on this file since aabd480 was c5ec23b, checked in by Archaic <archaic@…>, 19 years ago

Removed unneeded <application> tags. (merged from trunk r6129)

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

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