Tizen 2.1 base
[external/gmp.git] / INSTALL
1 Copyright 1996, 1997, 1999, 2000, 2001, 2002, 2006 Free Software Foundation,
2 Inc.
3
4 This file is part of the GNU MP Library.
5
6 The GNU MP Library is free software; you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or (at your
9 option) any later version.
10
11 The GNU MP Library is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
14 License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
18
19
20
21
22
23                           INSTALLING GNU MP
24                           =================
25
26
27 These instructions are only for the impatient.  Others should read the install
28 instructions in gmp.info.  Use
29
30         info -f ./gmp.info
31
32 or in emacs
33
34         C-u C-h i gmp.info
35
36
37 Here are some brief instructions on how to install GMP.  First you need to
38 compile.  Since you're impatient, try this
39
40         ./configure
41         make
42         make check              <= VERY IMPORTANT!!
43
44 If that fails, or you care about the performance of GMP, you need to read the
45 full instructions in the chapter "Installing GMP" in the manual.
46
47 You should not skip the "make check" part; the risk that the GMP sources are
48 miscompiled are unfortunately quite high.  And if they indeed are, "make check"
49 is very likely to trigger the compiler-introduced bug.
50
51 Optionally, you can install the library with the following command.  This will
52 be to /usr/local by default, and you'll probably need to be "root" to be able
53 to write there.
54
55         make install
56
57 To create the printable documentation from the texinfo source, type "make
58 gmp.dvi" or "make gmp.ps".  This requires various "tex" commands.
59
60 If you are new to GMP, it is a good idea you at least read the chapter "GMP
61 Basics" in the manual.
62
63 Some known build problems are noted in the "Installing GMP" chapter of
64 the manual.  Please report other problems to gmp-bugs@gmplib.org.
65
66 The GMP web site is located here: http://gmplib.org/.
67
68
69 ----------------
70 Local variables:
71 mode: text
72 fill-column: 78
73 End: