diff options
author | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2003-01-16 09:54:54 +0000 |
---|---|---|
committer | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2003-01-16 09:54:54 +0000 |
commit | d8857148e690936e54f1fbc8d0193a8ee0d4dcc1 (patch) | |
tree | 691cbfe393b09240bcedcb8df55ae19df1528bfd /INSTALL | |
parent | a9117d598d31cf572d78f9d8a060df82647522fc (diff) | |
download | mpc-d8857148e690936e54f1fbc8d0193a8ee0d4dcc1.tar.gz |
Initial revision
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@2 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 56 |
1 files changed, 56 insertions, 0 deletions
@@ -0,0 +1,56 @@ + Installing MPC + ============== + +0. You first need to install GMP. See <http://www.swox.com/gmp/>. + MPC requires GMP version 4.1 or later. + + You need to configure GMP with --enable-mpfr, to install the MPFR + library, too. + +1. In the MPC build directory, type + + make + + This assumes that GMP is installed into /usr/local. + + Otherwise, type + + make GMP=<gmp_install_dir> + + where <gmp_install_dir> is the directory where you installed GMP. The GMP + header files like gmp.h are then expected to be in <gmp_install_dir>/include, + and the GMP library files like libgmp.a in <gmp_install_dir>/lib. + + It is also possible to specify a separate directory for MPFR by + + make GMP=<gmp_install_dir> MPFR=<mpfr_install_dir> + + which allows to use a newer version of MPFR. + +2. Type + + make check + + resp. + + make check GMP=<gmp_install_dir> + + resp. + + make check GMP=<gmp_install_dir> MPFR=<mpfr_install_dir> + + to produce and run the test files (please check that <gmp_install_dir>/lib + is first in your LD_LIBRARY_PATH environment variable if you use the dynamic + GMP libraries, or compile the test files with the -static option). + +3. Type + + make mpc.dvi + + or + make mpc.ps + + to produce the documentation in DVI or Postscript format. + +In case of difficulties, send a description of the problem to +<enge@lix.polytechnique.fr, zimmerma@loria.fr>. |