mpc.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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-mpc" role="wrap">
  8. <?dbhtml filename="mpc.html"?>
  9. <sect1info condition="script">
  10. <productname>mpc</productname>
  11. <productnumber>&mpc-version;</productnumber>
  12. <address>&mpc-url;</address>
  13. </sect1info>
  14. <title>MPC-&mpc-version;</title>
  15. <indexterm zone="ch-system-mpc">
  16. <primary sortas="a-MPC">MPC</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>MPC 软件包包含一个任意高精度,且舍入正确的复数算术库。</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&mpc-ch6-sbu;</seg>
  26. <seg>&mpc-ch6-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>安装 MPC</title>
  32. <para>准备安装 MPC:</para>
  33. <screen><userinput remap="configure">./configure --prefix=/usr \
  34. --disable-static \
  35. --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen>
  36. <para>编译该软件包,并生成 HTML 文档:</para>
  37. <screen><userinput remap="make">make
  38. make html</userinput></screen>
  39. <para>运行以下命令以测试编译结果:</para>
  40. <screen><userinput remap="test">make check</userinput></screen>
  41. <para>安装该软件包</para>
  42. <screen><userinput remap="install">make install
  43. make install-html</userinput></screen>
  44. </sect2>
  45. <sect2 id="contents-mpc" role="content">
  46. <title>MPC 的内容</title>
  47. <segmentedlist>
  48. <segtitle>安装的库</segtitle>
  49. <segtitle>安装的目录</segtitle>
  50. <seglistitem>
  51. <seg>libmpc.so</seg>
  52. <seg>/usr/share/doc/mpc-&mpc-version;</seg>
  53. </seglistitem>
  54. </segmentedlist>
  55. <variablelist>
  56. <bridgehead renderas="sect3">简要描述</bridgehead>
  57. <?dbfo list-presentation="list"?>
  58. <?dbhtml list-presentation="table"?>
  59. <varlistentry id="libmpc">
  60. <term><filename class="libraryfile">libmpc</filename></term>
  61. <listitem>
  62. <para>包含复数算术函数</para>
  63. <indexterm zone="ch-system-mpc libmpc">
  64. <primary sortas="c-libmpc">libmpc</primary>
  65. </indexterm>
  66. </listitem>
  67. </varlistentry>
  68. </variablelist>
  69. </sect2>
  70. </sect1>