mpc.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <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>The MPC package contains a library for the arithmetic of complex
  21. numbers with arbitrarily high precision and correct rounding of the
  22. result.</para>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&mpc-ch6-sbu;</seg>
  28. <seg>&mpc-ch6-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of MPC</title>
  34. <para>Prepare MPC for compilation:</para>
  35. <screen><userinput remap="configure">./configure --prefix=/usr \
  36. --disable-static \
  37. --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen>
  38. <para>Compile the package and generate the HTML documentation:</para>
  39. <screen><userinput remap="make">make
  40. make html</userinput></screen>
  41. <para>To test the results, issue:</para>
  42. <screen><userinput remap="test">make check</userinput></screen>
  43. <para>Install the package and its documentation:</para>
  44. <screen><userinput remap="install">make install
  45. make install-html</userinput></screen>
  46. </sect2>
  47. <sect2 id="contents-mpc" role="content">
  48. <title>Contents of MPC</title>
  49. <segmentedlist>
  50. <segtitle>Installed Libraries</segtitle>
  51. <segtitle>Installed Directory</segtitle>
  52. <seglistitem>
  53. <seg>libmpc.{a,so}</seg>
  54. <seg>/usr/share/doc/mpc-&mpc-version;</seg>
  55. </seglistitem>
  56. </segmentedlist>
  57. <variablelist>
  58. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  59. <?dbfo list-presentation="list"?>
  60. <?dbhtml list-presentation="table"?>
  61. <varlistentry id="libmpc">
  62. <term><filename class="libraryfile">libmpc</filename></term>
  63. <listitem>
  64. <para>Contains complex math functions</para>
  65. <indexterm zone="ch-system-mpc libmpc">
  66. <primary sortas="c-libmpc">libmpc</primary>
  67. </indexterm>
  68. </listitem>
  69. </varlistentry>
  70. </variablelist>
  71. </sect2>
  72. </sect1>