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

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

Add screen tags around userinput test commands and remap userinput for test commands as remap="test".

  • Property mode set to 100644
File size: 3.5 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
[1c7171a]27 <para os="t3">The <command>configure </command>script does not determine
28 the correct value for the following. Set the value manually:</para>
29
30<screen os="t4"><userinput>echo "ac_cv_prog_lex_is_flex=yes" &gt; config.cache</userinput></screen>
31
[e0e40d3]32 <para os="a">Prepare Bison for compilation:</para>
[3f8be484]33
[1c7171a]34<screen os="b"><userinput>./configure --prefix=/usr --cache-file=config.cache</userinput></screen>
[3f8be484]35
[e0e40d3]36 <para os="c">Compile the package:</para>
[3f8be484]37
[e0e40d3]38<screen os="d"><userinput>make</userinput></screen>
[3f8be484]39
[686839b]40 <para os="e">To test the results, issue:</para>
41
42<screen os="e2"><userinput remap="test">make check</userinput></screen>
[3f8be484]43
[e0e40d3]44 <para os="f">Install the package:</para>
[3f8be484]45
[e0e40d3]46<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]47
48 </sect2>
49
50 <sect2 id="contents-bison" role="content">
51 <title>Contents of Bison</title>
52
53 <segmentedlist>
54 <segtitle>Installed programs</segtitle>
55 <segtitle>Installed library</segtitle>
[61ad0b7f]56 <segtitle>Installed directory</segtitle>
[3f8be484]57
58 <seglistitem>
59 <seg>bison and yacc</seg>
60 <seg>liby.a</seg>
[61ad0b7f]61 <seg>/usr/share/bison</seg>
[3f8be484]62 </seglistitem>
63 </segmentedlist>
64
65 <variablelist>
66 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67 <?dbfo list-presentation="list"?>
68 <?dbhtml list-presentation="table"?>
69
70 <varlistentry id="bison">
71 <term><command>bison</command></term>
72 <listitem>
73 <para>Generates, from a series of rules, a program for analyzing
74 the structure of text files; Bison is a replacement for Yacc (Yet
75 Another Compiler Compiler)</para>
76 <indexterm zone="ch-system-bison bison">
77 <primary sortas="b-bison">bison</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 <varlistentry id="yacc">
83 <term><command>yacc</command></term>
84 <listitem>
85 <para>A wrapper for <command>bison</command>, meant for programs that
86 still call <command>yacc</command> instead of <command>bison</command>;
87 it calls <command>bison</command> with the <option>-y</option>
88 option</para>
89 <indexterm zone="ch-system-bison yacc">
90 <primary sortas="b-yacc">yacc</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry id="liby.a">
96 <term><filename class="libraryfile">liby.a</filename></term>
97 <listitem>
98 <para>The Yacc library containing implementations of Yacc-compatible
99 <emphasis>yyerror</emphasis> and <emphasis>main</emphasis> functions;
100 this library is normally not very useful, but POSIX requires it</para>
101 <indexterm zone="ch-system-bison liby.a">
102 <primary sortas="c-liby.a">liby.a</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 </variablelist>
108
109 </sect2>
110
111</sect1>
Note: See TracBrowser for help on using the repository browser.