source: final-system/common/bison.xml@ fe18e4eb

Last change on this file since fe18e4eb was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 3.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 <segmentedlist>
23 <segtitle>&dependencies;</segtitle>
24
25 <seglistitem>
26 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext,
27 Glibc, Grep, M4, Make, and Sed</seg>
28 </seglistitem>
29 </segmentedlist>
30
31 </sect2>
32
33 <sect2 role="installation">
34 <title>Installation of Bison</title>
35
36 <para>Prepare Bison for compilation:</para>
37
38<screen><userinput>./configure --prefix=/usr</userinput></screen>
39
40 <para>Compile the package:</para>
41
42<screen><userinput>make</userinput></screen>
43
44 <para>To test the results, issue:
45 <userinput>make check</userinput>.</para>
46
47 <para>Install the package:</para>
48
49<screen><userinput>make install</userinput></screen>
50
51 </sect2>
52
53 <sect2 id="contents-bison" role="content">
54 <title>Contents of Bison</title>
55
56 <segmentedlist>
57 <segtitle>Installed programs</segtitle>
58 <segtitle>Installed library</segtitle>
59
60 <seglistitem>
61 <seg>bison and yacc</seg>
62 <seg>liby.a</seg>
63 </seglistitem>
64 </segmentedlist>
65
66 <variablelist>
67 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
68 <?dbfo list-presentation="list"?>
69 <?dbhtml list-presentation="table"?>
70
71 <varlistentry id="bison">
72 <term><command>bison</command></term>
73 <listitem>
74 <para>Generates, from a series of rules, a program for analyzing
75 the structure of text files; Bison is a replacement for Yacc (Yet
76 Another Compiler Compiler)</para>
77 <indexterm zone="ch-system-bison bison">
78 <primary sortas="b-bison">bison</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="yacc">
84 <term><command>yacc</command></term>
85 <listitem>
86 <para>A wrapper for <command>bison</command>, meant for programs that
87 still call <command>yacc</command> instead of <command>bison</command>;
88 it calls <command>bison</command> with the <option>-y</option>
89 option</para>
90 <indexterm zone="ch-system-bison yacc">
91 <primary sortas="b-yacc">yacc</primary>
92 </indexterm>
93 </listitem>
94 </varlistentry>
95
96 <varlistentry id="liby.a">
97 <term><filename class="libraryfile">liby.a</filename></term>
98 <listitem>
99 <para>The Yacc library containing implementations of Yacc-compatible
100 <emphasis>yyerror</emphasis> and <emphasis>main</emphasis> functions;
101 this library is normally not very useful, but POSIX requires it</para>
102 <indexterm zone="ch-system-bison liby.a">
103 <primary sortas="c-liby.a">liby.a</primary>
104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 </variablelist>
109
110 </sect2>
111
112</sect1>
Note: See TracBrowser for help on using the repository browser.