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-gperf" role="wrap">
|
---|
9 | <?dbhtml filename="gperf.html"?>
|
---|
10 |
|
---|
11 | <title>Gperf-&gperf-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-gperf">
|
---|
14 | <primary sortas="a-Gperf">Gperf</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>Gperf generates a perfect hash function from a key set.</para>
|
---|
21 |
|
---|
22 | </sect2>
|
---|
23 |
|
---|
24 | <sect2 role="installation">
|
---|
25 | <title>Installation of Gperf</title>
|
---|
26 |
|
---|
27 | <para os="a">Prepare Gperf for compilation:</para>
|
---|
28 |
|
---|
29 | <screen os="b"><userinput>./configure \
|
---|
30 | --prefix=/usr \
|
---|
31 | --docdir=/usr/share/doc/gperf-&gperf-version;</userinput></screen>
|
---|
32 |
|
---|
33 | <para os="c">Compile the package:</para>
|
---|
34 |
|
---|
35 | <screen os="d"><userinput>make</userinput></screen>
|
---|
36 |
|
---|
37 | <para os="e">To test the results, issue:</para>
|
---|
38 |
|
---|
39 | <screen os="e2"><userinput remap="test">make check</userinput></screen>
|
---|
40 |
|
---|
41 | <para os="f">Install the package:</para>
|
---|
42 |
|
---|
43 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
44 |
|
---|
45 | </sect2>
|
---|
46 |
|
---|
47 | <sect2 id="contents-gperf" role="content">
|
---|
48 | <title>Contents of Gperf</title>
|
---|
49 |
|
---|
50 | <segmentedlist>
|
---|
51 | <segtitle>Installed program</segtitle>
|
---|
52 | <segtitle>Installed directory</segtitle>
|
---|
53 |
|
---|
54 | <seglistitem>
|
---|
55 | <seg>gperf</seg>
|
---|
56 | <seg>/usr/share/doc/gperf-&gperf-version;</seg>
|
---|
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="gperf">
|
---|
66 | <term><command>gperf</command></term>
|
---|
67 | <listitem>
|
---|
68 | <para>Generates a perfect hash function from a key set</para>
|
---|
69 | <indexterm zone="ch-system-gperf gperf">
|
---|
70 | <primary sortas="b-gperf">gperf</primary>
|
---|
71 | </indexterm>
|
---|
72 | </listitem>
|
---|
73 | </varlistentry>
|
---|
74 |
|
---|
75 | </variablelist>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | </sect1>
|
---|