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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4317f44 was 61ad0b7f, checked in by Chris Staub <chris@…>, 15 years ago

Added installed directory info for a number of packages

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of Bison</title>
26
27 <para os="a">Prepare Bison for compilation:</para>
28
29<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
30
31 <para os="b1">The configure system causes Bison to be built without support
32 for internationalization of error messages if a <command>bison</command>
33 program is not already in $PATH. The following addition will correct
34 this:</para>
35
36<screen os="b2"><userinput>echo '#define YYENABLE_NLS 1' &gt;&gt; config.h</userinput></screen>
37
38 <para os="c">Compile the package:</para>
39
40<screen os="d"><userinput>make</userinput></screen>
41
42 <para os="e">To test the results, issue:
43 <userinput>make check</userinput>.</para>
44
45 <para os="f">Install the package:</para>
46
47<screen os="g"><userinput>make install</userinput></screen>
48
49 </sect2>
50
51 <sect2 id="contents-bison" role="content">
52 <title>Contents of Bison</title>
53
54 <segmentedlist>
55 <segtitle>Installed programs</segtitle>
56 <segtitle>Installed library</segtitle>
57 <segtitle>Installed directory</segtitle>
58
59 <seglistitem>
60 <seg>bison and yacc</seg>
61 <seg>liby.a</seg>
62 <seg>/usr/share/bison</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.