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