summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-11-23 10:53:04 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-11-23 10:53:04 +0000
commitdc450fa00a927cde1700005f13a65e4799e35975 (patch)
tree6d3600a8d54bf9ec0cbe41e1472af032948a6604 /INSTALL
parent2058d69651cea4f94a80d1828da09fcf415ccf01 (diff)
downloadmpfr-dc450fa00a927cde1700005f13a65e4799e35975.tar.gz
Added information about the patches to the INSTALL file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3957 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL24
1 files changed, 19 insertions, 5 deletions
diff --git a/INSTALL b/INSTALL
index c18bfbe1b..d34a9bae6 100644
--- a/INSTALL
+++ b/INSTALL
@@ -4,16 +4,25 @@
0. You first need to install GMP. See <http://www.swox.com/gmp/>.
MPFR requires GMP version 4.1 or later.
-1. In the MPFR build directory, to detect your system, type:
+1. Extract the files from the archive.
+
+2. It is strongly advised to apply the latest patches (if this has
+ not been done yet), e.g.
+ wget http://www.mpfr.org/mpfr-2.3.0/patches
+ patch -N -Z -p1 < patches
+ or
+ curl http://www.mpfr.org/mpfr-2.3.0/patches | patch -N -Z -p1
+
+3. In the MPFR directory, to detect your system, type:
./configure
-2. To build the library, type:
+4. To build the library, type:
make
-3. To check the built library (runs the test files), type:
+5. To check the built library (runs the test files), type:
make check
-4. To install it (default "/usr/local" | see "--prefix" option), type:
+6. To install it (default "/usr/local" | see "--prefix" option), type:
make install
@@ -67,6 +76,11 @@ Run "./configure --help" to see the other options (autoconf default options).
In case of problem
==================
+ If you can, go to the MPFR page for this version, where you could
+ find something to solve the problem, or to see if it has already
+ been reported:
+ http://www.mpfr.org/mpfr-2.3.0/
+
If the "configure" fails, please check that the C compiler and its
options are the same as those for the GMP build (specially the ABI).
You can see the latter with the following:
@@ -100,7 +114,7 @@ In case of problem
the version of GMP and MPFR used and a description of the problem
encountered. Please send us also a log of the installation (config.log).
- Note that even if you can build MPFR with a C++ compiler you can't run
+ Note that even if you can build MPFR with a C++ compiler, you can't run
the test suite: C and C++ are not the same language!
You should use a C compiler instead.