mpfr.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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>First, apply the following patch to fix various bugs that have been
  34. addressed upstream:</para>
  35. <screen><userinput remap="pre">patch -Np1 -i ../&mpfr-fixes-patch;</userinput></screen>
  36. <para>Prepare MPFR for compilation:</para>
  37. <screen><userinput remap="configure">./configure --prefix=/usr \
  38. --enable-thread-safe \
  39. --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
  40. <para>Compile the package:</para>
  41. <screen><userinput remap="make">make</userinput></screen>
  42. <important>
  43. <para>The test suite for MPFR in this section is considered critical.
  44. Do not skip it under any circumstances.</para>
  45. </important>
  46. <para>Test the results and ensure that all tests passed:</para>
  47. <screen><userinput remap="test">make check</userinput></screen>
  48. <para>Install the package:</para>
  49. <screen><userinput remap="install">make install</userinput></screen>
  50. <para>Install the documentation:</para>
  51. <screen><userinput remap="make">make html
  52. </userinput><userinput remap="install">make install-html</userinput></screen>
  53. </sect2>
  54. <sect2 id="contents-mpfr" role="content">
  55. <title>Contents of MPFR</title>
  56. <segmentedlist>
  57. <segtitle>Installed Libraries</segtitle>
  58. <segtitle>Installed directory</segtitle>
  59. <seglistitem>
  60. <seg>libmpfr.{a,so}</seg>
  61. <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
  62. </seglistitem>
  63. </segmentedlist>
  64. <variablelist>
  65. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  66. <?dbfo list-presentation="list"?>
  67. <?dbhtml list-presentation="table"?>
  68. <varlistentry id="libmpfr">
  69. <term><filename class="libraryfile">libmpfr</filename></term>
  70. <listitem>
  71. <para>Contains multiple-precision math functions.</para>
  72. <indexterm zone="ch-system-mpfr libmpfr">
  73. <primary sortas="c-libmpfr">libmpfr</primary>
  74. </indexterm>
  75. </listitem>
  76. </varlistentry>
  77. </variablelist>
  78. </sect2>
  79. </sect1>