tizen 2.3 release
[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 2.1 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; see the file COPYING.LIB.  If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301, USA.
20
21
22
23
24
25                           INSTALLING GNU MP
26                           =================
27
28
29 These instructions are only for the impatient.  Others should read the install
30 instructions in gmp.info.  Use
31
32         info -f ./gmp.info
33
34 or in emacs
35
36         C-u C-h i gmp.info
37
38
39 Here are some brief instructions on how to install GMP, and some examples to
40 help you get started using it.  First you need to compile.  Since you're
41 impatient, try this
42
43         ./configure
44         make
45         make check              <= VERY IMPORTANT!!
46
47 If that fails, or you care about the performance of GMP, you need to read the
48 full instructions in the chapter "Installing GMP" in the manual.
49
50 You should not skip the "make check" part; the risk that the GMP sources are
51 miscompiled are unfortunately quite high.  And if they indeed are, "make check"
52 is very likely to trigger the compiler-introduced bug.
53
54 Optionally, you can install the library with the following command.  This will
55 be to /usr/local by default, and you'll probably need to be "root" to be able
56 to write there.
57
58         make install
59
60 To create the printable documentation from the texinfo source, type "make
61 gmp.dvi" or "make gmp.ps".  This requires various "tex" commands.
62
63 If you are new to GMP, it is a good idea you at least read the chapter "GMP
64 Basics" in the manual.
65
66 Some known build problems are noted in the "Installing GMP" chapter of
67 the manual.  Please report other problems to gmp-bugs@swox.com.
68
69 The GMP web site is located here: http://swox.com/gmp/.
70
71
72 ----------------
73 Local variables:
74 mode: text
75 fill-column: 78
76 End: