diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-03-21 15:47:51 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-03-21 15:47:51 +0000 |
commit | 0e8595603e1c62815d91baac98c71a2893df174f (patch) | |
tree | f4795ebede60cf6b530523e09762348926847735 /INSTALL | |
parent | b9c61819ac94e88385b801cdd5799057ae591513 (diff) | |
download | mpc-0e8595603e1c62815d91baac98c71a2893df174f.tar.gz |
Merged feature-autotools branch changes r72:r76 into the trunk.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@77 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 42 |
1 files changed, 20 insertions, 22 deletions
@@ -1,46 +1,44 @@ Installing MPC ============== +This is for the impatient, for deeper explanations see Installing MPC chapter +in the Texinfo documentation (type 'info mpc.info'). + 0. You first need to install GMP and MPFR. See <http://gmplib.org/> and <http://www.mpfr.org>. MPC requires GMP version 4.2.2 or later and MPFR version 2.3.0 or later. -1. In the MPC build directory, type +1. In the directory MPC archive, type + tar xzf mpc-0.4.7.tar.gz + cd mpc-0.4.7 + ./configure make - This assumes that GMP and MPFR are installed into /usr/local. - - Otherwise, type - - make GMP=<gmp_install_dir> MPFR=<mpfr_install_dir> - - where <gmp_install_dir> is the directory where you installed GMP and - <mpfr_install_dir> is the directory where you installed MPFR. The GMP - header files like gmp.h are then expected to be in <gmp_install_dir>/include, - the GMP library files like libgmp.a in <gmp_install_dir>/lib, and likewise - for MPFR. - -2. Type + This assumes that GMP and MPFR are installed in a directory searched by + default by the compiler. Otherwise, use --with-gmp=DIR or --with-mpfr=DIR + (see Texinfo documentation). +2. You can optionally run the test suit, type + make check - resp. - - make check GMP=<gmp_install_dir> MPFR=<mpfr_install_dir> +3. To install the MPC library, type + + make install - 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). + By default, the files are copied into /usr/local subdirectories. You + need write permissions on these directories. -3. Type +4. You can optionally create documentation, type make mpc.dvi or + make mpc.ps - to produce the documentation in DVI or Postscript format. + This requires Texinfo package. In case of difficulties, send a description of the problem to <enge at lix dot polytechnique.fr, zimmerma at loria dot fr> |