[ce067a0] | 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 |
|
---|
[51bd77c4] | 29 | <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
|
---|
[ce067a0] | 30 | --docdir=/usr/share/doc/gperf-&gperf-version;</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <para os="c">Compile the package:</para>
|
---|
| 33 |
|
---|
| 34 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para os="e">To test the results, issue:</para>
|
---|
| 37 |
|
---|
| 38 | <screen os="e2"><userinput remap="test">make check</userinput></screen>
|
---|
| 39 |
|
---|
| 40 | <para os="f">Install the package:</para>
|
---|
| 41 |
|
---|
| 42 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
| 43 |
|
---|
| 44 | </sect2>
|
---|
| 45 |
|
---|
| 46 | <sect2 id="contents-gperf" role="content">
|
---|
| 47 | <title>Contents of Gperf</title>
|
---|
| 48 |
|
---|
| 49 | <segmentedlist>
|
---|
| 50 | <segtitle>Installed programs</segtitle>
|
---|
| 51 | <segtitle>Installed directory</segtitle>
|
---|
| 52 |
|
---|
| 53 | <seglistitem>
|
---|
| 54 | <seg>gperf</seg>
|
---|
| 55 | <seg>/usr/share/doc/gperf-&gperf-version;</seg>
|
---|
| 56 | </seglistitem>
|
---|
| 57 | </segmentedlist>
|
---|
| 58 |
|
---|
| 59 | <variablelist>
|
---|
| 60 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 61 | <?dbfo list-presentation="list"?>
|
---|
| 62 | <?dbhtml list-presentation="table"?>
|
---|
| 63 |
|
---|
| 64 | <varlistentry id="gperf">
|
---|
| 65 | <term><command>gperf</command></term>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Generates a perfect hash function from a key set</para>
|
---|
| 68 | <indexterm zone="ch-system-gperf gperf">
|
---|
| 69 | <primary sortas="b-gperf">gperf</primary>
|
---|
| 70 | </indexterm>
|
---|
| 71 | </listitem>
|
---|
| 72 | </varlistentry>
|
---|
| 73 |
|
---|
| 74 | </variablelist>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | </sect1>
|
---|