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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0f4dd37 was e0e40d3, checked in by Jim Gifford <clfs@…>, 19 years ago

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


  • Property mode set to 100644
File size: 3.3 KB
RevLine 
[3f8be484]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
[e0e40d3]36 <para os="a">Prepare Bison for compilation:</para>
[3f8be484]37
[e0e40d3]38<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
[3f8be484]39
[e0e40d3]40 <para os="c">Compile the package:</para>
[3f8be484]41
[e0e40d3]42<screen os="d"><userinput>make</userinput></screen>
[3f8be484]43
[e0e40d3]44 <para os="e">To test the results, issue:
[3f8be484]45 <userinput>make check</userinput>.</para>
46
[e0e40d3]47 <para os="f">Install the package:</para>
[3f8be484]48
[e0e40d3]49<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]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.