blob: 487cff3a40dace3a027d8a07db09179e16faa916 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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>.
|