Blame INSTALL

Packit 15dc08
Copyright 1996, 1997, 1999-2002, 2006 Free Software Foundation, Inc.
Packit 15dc08
Packit 15dc08
This file is part of the GNU MP Library.
Packit 15dc08
Packit 15dc08
The GNU MP Library is free software; you can redistribute it and/or modify
Packit 15dc08
it under the terms of either:
Packit 15dc08
Packit 15dc08
  * the GNU Lesser General Public License as published by the Free
Packit 15dc08
    Software Foundation; either version 3 of the License, or (at your
Packit 15dc08
    option) any later version.
Packit 15dc08
Packit 15dc08
or
Packit 15dc08
Packit 15dc08
  * the GNU General Public License as published by the Free Software
Packit 15dc08
    Foundation; either version 2 of the License, or (at your option) any
Packit 15dc08
    later version.
Packit 15dc08
Packit 15dc08
or both in parallel, as here.
Packit 15dc08
Packit 15dc08
The GNU MP Library is distributed in the hope that it will be useful, but
Packit 15dc08
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
Packit 15dc08
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
Packit 15dc08
for more details.
Packit 15dc08
Packit 15dc08
You should have received copies of the GNU General Public License and the
Packit 15dc08
GNU Lesser General Public License along with the GNU MP Library.  If not,
Packit 15dc08
see https://www.gnu.org/licenses/.
Packit 15dc08
Packit 15dc08
Packit 15dc08
Packit 15dc08
Packit 15dc08
Packit 15dc08
                          INSTALLING GNU MP
Packit 15dc08
                          =================
Packit 15dc08
Packit 15dc08
Packit 15dc08
These instructions are only for the impatient.  Others should read the install
Packit 15dc08
instructions in gmp.info.  Use
Packit 15dc08
Packit 15dc08
	info -f doc/gmp.info
Packit 15dc08
Packit 15dc08
from the gmp source directory.
Packit 15dc08
Packit 15dc08
Here are some brief instructions on how to install GMP.  First you need to
Packit 15dc08
compile.  Since you're impatient, try this
Packit 15dc08
Packit 15dc08
	./configure
Packit 15dc08
	make
Packit 15dc08
	make check		<= VERY IMPORTANT!!
Packit 15dc08
Packit 15dc08
If that fails, or you care about the performance of GMP, you need to read the
Packit 15dc08
full instructions in the chapter "Installing GMP" in the manual.
Packit 15dc08
Packit 15dc08
You should not skip the "make check" part; the risk that the GMP sources are
Packit 15dc08
miscompiled are unfortunately quite high.  And if they indeed are, "make check"
Packit 15dc08
is very likely to trigger the compiler-introduced bug.
Packit 15dc08
Packit 15dc08
Optionally, you can install the library with the following command.  This will
Packit 15dc08
be to /usr/local by default, and you'll probably need to be "root" to be able
Packit 15dc08
to write there.
Packit 15dc08
Packit 15dc08
	make install
Packit 15dc08
Packit 15dc08
To create the printable documentation from the texinfo source, type "make
Packit 15dc08
gmp.dvi" or "make gmp.ps".  This requires various "tex" commands.
Packit 15dc08
Packit 15dc08
If you are new to GMP, it is a good idea you at least read the chapter "GMP
Packit 15dc08
Basics" in the manual.
Packit 15dc08
Packit 15dc08
Some known build problems are noted in the "Installing GMP" chapter of
Packit 15dc08
the manual.  Please report other problems to gmp-bugs@gmplib.org.
Packit 15dc08
Packit 15dc08
The GMP web site is located here: https://gmplib.org/.
Packit 15dc08
Packit 15dc08
Packit 15dc08
----------------
Packit 15dc08
Local variables:
Packit 15dc08
mode: text
Packit 15dc08
fill-column: 78
Packit 15dc08
End: