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