gperf.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <sect1 id="ch-system-gperf" role="wrap">
  8. <?dbhtml filename="gperf.html"?>
  9. <sect1info condition="script">
  10. <productname>gperf</productname>
  11. <productnumber>&gperf-version;</productnumber>
  12. <address>&gperf-url;</address>
  13. </sect1info>
  14. <title>Gperf-&gperf-version;</title>
  15. <indexterm zone="ch-system-gperf">
  16. <primary sortas="a-Gperf">Gperf</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>Gperf 根据一组键值,生成完美散列函数。</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&gperf-ch6-sbu;</seg>
  26. <seg>&gperf-ch6-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>安装 Gperf</title>
  32. <para>准备安装 Gperf:</para>
  33. <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/gperf-&gperf-version;</userinput></screen>
  34. <para>编译该软件包:</para>
  35. <screen><userinput remap="make">make</userinput></screen>
  36. <para>已知同时执行多个测试(-j 选项的值大于 1)会导致测试失败。
  37. 执行以下命令测试编译结果:</para>
  38. <screen><userinput remap="test">make -j1 check</userinput></screen>
  39. <para>安装该软件包:</para>
  40. <screen><userinput remap="install">make install</userinput></screen>
  41. </sect2>
  42. <sect2 id="contents-gperf" role="content">
  43. <title>Gperf 的内容</title>
  44. <segmentedlist>
  45. <segtitle>安装的程序</segtitle>
  46. <segtitle>安装的目录</segtitle>
  47. <seglistitem>
  48. <seg>gperf</seg>
  49. <seg>/usr/share/doc/gperf-&gperf-version;</seg>
  50. </seglistitem>
  51. </segmentedlist>
  52. <variablelist>
  53. <bridgehead renderas="sect3">简要描述</bridgehead>
  54. <?dbfo list-presentation="list"?>
  55. <?dbhtml list-presentation="table"?>
  56. <varlistentry id="gperf">
  57. <term><command>gperf</command></term>
  58. <listitem>
  59. <para>根据键值集合生成完美散列函数</para>
  60. <indexterm zone="ch-system-gperf gperf">
  61. <primary sortas="b-gperf">gperf</primary>
  62. </indexterm>
  63. </listitem>
  64. </varlistentry>
  65. </variablelist>
  66. </sect2>
  67. </sect1>