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

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

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

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