github.com/aergoio/aergo@v1.3.1/libtool/src/gmp-6.1.2/INSTALL (about) 1 Copyright 1996, 1997, 1999-2002, 2006 Free Software Foundation, Inc. 2 3 This file is part of the GNU MP Library. 4 5 The GNU MP Library is free software; you can redistribute it and/or modify 6 it under the terms of either: 7 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. 11 12 or 13 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. 17 18 or both in parallel, as here. 19 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. 24 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/. 28 29 30 31 32 33 INSTALLING GNU MP 34 ================= 35 36 37 These instructions are only for the impatient. Others should read the install 38 instructions in gmp.info. Use 39 40 info -f doc/gmp.info 41 42 from the gmp source directory. 43 44 Here are some brief instructions on how to install GMP. First you need to 45 compile. Since you're impatient, try this 46 47 ./configure 48 make 49 make check <= VERY IMPORTANT!! 50 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. 53 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. 57 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. 61 62 make install 63 64 To create the printable documentation from the texinfo source, type "make 65 gmp.dvi" or "make gmp.ps". This requires various "tex" commands. 66 67 If you are new to GMP, it is a good idea you at least read the chapter "GMP 68 Basics" in the manual. 69 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. 72 73 The GMP web site is located here: https://gmplib.org/. 74 75 76 ---------------- 77 Local variables: 78 mode: text 79 fill-column: 78 80 End: