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