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

sysvinit
Last change on this file since ca39770 was 024cb36, checked in by William Harrington <kb0iic@…>, 8 years ago

Add docdir configure option to final-system bison configure command.

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