mpfr.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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-mpfr" role="wrap">
  8. <?dbhtml filename="mpfr.html"?>
  9. <sect1info condition="script">
  10. <productname>mpfr</productname>
  11. <productnumber>&mpfr-version;</productnumber>
  12. <address>&mpfr-url;</address>
  13. </sect1info>
  14. <title>MPFR-&mpfr-version;</title>
  15. <indexterm zone="ch-system-mpfr">
  16. <primary sortas="a-MPFR">MPFR</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The MPFR package contains functions for multiple precision
  21. math.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&mpfr-ch6-sbu;</seg>
  27. <seg>&mpfr-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of MPFR</title>
  33. <para>Prepare MPFR for compilation:</para>
  34. <screen><userinput remap="configure">./configure --prefix=/usr --enable-thread-safe \
  35. --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
  36. <para>Compile the package:</para>
  37. <screen><userinput remap="make">make</userinput></screen>
  38. <important>
  39. <para>The test suite for MPFR in this section is considered critical.
  40. Do not skip it under any circumstances.</para>
  41. </important>
  42. <para>Test the results and ensure that all tests passed:</para>
  43. <screen><userinput remap="test">make check</userinput></screen>
  44. <para>Install the package:</para>
  45. <screen><userinput remap="install">make install</userinput></screen>
  46. <para>Install the documentation:</para>
  47. <screen><userinput remap="install">make html
  48. make install-html</userinput></screen>
  49. </sect2>
  50. <sect2 id="contents-mpfr" role="content">
  51. <title>Contents of MPFR</title>
  52. <segmentedlist>
  53. <segtitle>Installed Libraries</segtitle>
  54. <segtitle>Installed directory</segtitle>
  55. <seglistitem>
  56. <seg>libmpfr.{a,so}</seg>
  57. <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
  58. </seglistitem>
  59. </segmentedlist>
  60. <variablelist>
  61. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  62. <?dbfo list-presentation="list"?>
  63. <?dbhtml list-presentation="table"?>
  64. <varlistentry id="libmpfr">
  65. <term><filename class="libraryfile">libmpfr</filename></term>
  66. <listitem>
  67. <para>Contains multiple-precision math functions.</para>
  68. <indexterm zone="ch-system-mpfr libmpfr">
  69. <primary sortas="c-libmpfr">libmpfr</primary>
  70. </indexterm>
  71. </listitem>
  72. </varlistentry>
  73. </variablelist>
  74. </sect2>
  75. </sect1>