source: BOOK/final-system/common/bison.xml@ cec0a99

clfs-3.0.0-sysvinit sysvinit
Last change on this file since cec0a99 was 9784318, checked in by Chris Staub <chris@…>, 10 years ago

Don't need M4 var

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