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

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

r668@server (orig r666): manuel | 2005-11-08 15:25:13 -0800
Removing SBUs and DUs. Chapter final-system, round 6.

  • 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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-bison" role="wrap">
11 <?dbhtml filename="bison.html"?>
12
13 <title>Bison-&bison-version;</title>
14
15 <indexterm zone="ch-system-bison">
16 <primary sortas="a-Bison">Bison</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The Bison package contains a parser generator.</para>
23
24 <segmentedlist>
25 <segtitle>&dependencies;</segtitle>
26
27 <seglistitem>
28 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext,
29 Glibc, Grep, M4, Make, and Sed</seg>
30 </seglistitem>
31 </segmentedlist>
32
33 </sect2>
34
35 <sect2 role="installation">
36 <title>Installation of Bison</title>
37
38 <para>Prepare Bison for compilation:</para>
39
40<screen><userinput>./configure --prefix=/usr</userinput></screen>
41
42 <para>Compile the package:</para>
43
44<screen><userinput>make</userinput></screen>
45
46 <para>To test the results, issue:
47 <userinput>make check</userinput>.</para>
48
49 <para>Install the package:</para>
50
51<screen><userinput>make install</userinput></screen>
52
53 </sect2>
54
55 <sect2 id="contents-bison" role="content">
56 <title>Contents of Bison</title>
57
58 <segmentedlist>
59 <segtitle>Installed programs</segtitle>
60 <segtitle>Installed library</segtitle>
61
62 <seglistitem>
63 <seg>bison and yacc</seg>
64 <seg>liby.a</seg>
65 </seglistitem>
66 </segmentedlist>
67
68 <variablelist>
69 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
70 <?dbfo list-presentation="list"?>
71 <?dbhtml list-presentation="table"?>
72
73 <varlistentry id="bison">
74 <term><command>bison</command></term>
75 <listitem>
76 <para>Generates, from a series of rules, a program for analyzing
77 the structure of text files; Bison is a replacement for Yacc (Yet
78 Another Compiler Compiler)</para>
79 <indexterm zone="ch-system-bison bison">
80 <primary sortas="b-bison">bison</primary>
81 </indexterm>
82 </listitem>
83 </varlistentry>
84
85 <varlistentry id="yacc">
86 <term><command>yacc</command></term>
87 <listitem>
88 <para>A wrapper for <command>bison</command>, meant for programs that
89 still call <command>yacc</command> instead of <command>bison</command>;
90 it calls <command>bison</command> with the <option>-y</option>
91 option</para>
92 <indexterm zone="ch-system-bison yacc">
93 <primary sortas="b-yacc">yacc</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry id="liby.a">
99 <term><filename class="libraryfile">liby.a</filename></term>
100 <listitem>
101 <para>The Yacc library containing implementations of Yacc-compatible
102 <emphasis>yyerror</emphasis> and <emphasis>main</emphasis> functions;
103 this library is normally not very useful, but POSIX requires it</para>
104 <indexterm zone="ch-system-bison liby.a">
105 <primary sortas="c-liby.a">liby.a</primary>
106 </indexterm>
107 </listitem>
108 </varlistentry>
109
110 </variablelist>
111
112 </sect2>
113
114</sect1>
Note: See TracBrowser for help on using the repository browser.