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