mpfr.xml 3.0 KB

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