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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f643f97 was f5a6b13, checked in by William Harrington <kb0iic@…>, 11 years ago

Remove config cache entry from final-system Bison.

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