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

systemd
Last change on this file since f6dd7fa was 2822eca, checked in by Chris Staub <chris@…>, 9 years ago

Updated installed program lists

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