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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
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.1 or later.
1. In the directory of the MPC archive, type
tar xzf mpc-0.5.1.tar.gz
cd mpc-0.5.1
./configure
make
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
3. To install the MPC library, type
make install
By default, the files are copied into /usr/local subdirectories. You
need write permissions on these directories.
4. You can optionally create documentation, type
make dvi
or
make ps
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>
(replace 'at' by '@', and 'dot' by '.').
##############################################################################
Note for Windows users:
======================
There is a special file makefile.vc for Windows, contributed by Mickael
Gastineau. This file works both for the Windows Server 2003 R2 Platform SDK,
and for the Windows SDK of Vista. To use it, simply replace "make" by
"nmake /f makefile.vc" in the above instructions:
compilation :
nmake /f makefile.vc GMP=<gmp_install_dir> MPFR=<mpfr_install_dir>
clean :
nmake /f makefile.vc GMP=<gmp_install_dir> MPFR=<mpfr_install_dir> clean
check :
nmake /f makefile.vc GMP=<gmp_install_dir> MPFR=<mpfr_install_dir> check
For any issue related to the makefile.vc file, please contact directly
Mickael Gastineau at <gastineau at imcce dot fr> (replace 'at' by '@',
and 'dot' by '.').
|