summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-05-31 20:10:06 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-05-31 20:10:06 +0000
commit178bcd6d0f2f4ccf24ad46ad6b5a0af1cd5db512 (patch)
tree371c1744302acb0f432931a324a2e40da1c66169 /INSTALL
parent5047fde750e72db6aeb626098d04ed4d0bfde626 (diff)
downloadmpfr-178bcd6d0f2f4ccf24ad46ad6b5a0af1cd5db512.tar.gz
[INSTALL] added instructions for "make tune"
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6900 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL15
1 files changed, 15 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 29a0fb61f..7f9a23ed6 100644
--- a/INSTALL
+++ b/INSTALL
@@ -53,6 +53,11 @@ MPFR).
4. To build the library, type:
make
+ [optional] if you want to tune MPFR for your specific architecture, see
+ the section "Tuning MPFR" below. Note that for most common architectures,
+ MPFR includes some default tuning parameters which should be near from
+ optimal.
+
5. To check the built library (runs the test files), type:
make check
@@ -122,6 +127,16 @@ symbols, and thus dynamically linking your software with a different
version of GMP might fail, even though it is declared as compatible
by Libtool's versioning system.
+Tuning MPFR
+===========
+
+For this, you need to build MPFR with a GMP build directory (see above).
+In the GMP build directory, you also need to go into the "tune" subdirectory
+and type "make speed". This will build the GMP speed library, which is used
+by the MPFR tuning mechanism.
+
+Then go back to the MPFR build directory, and type "make tune". This will
+build an optimized file "mparam.h" for your specific architecture.
./configure options
===================