The library gmp provides the extended arithmetic
for the number types integer and rational.
The following files should be available:
-
gmp.h: the header files for the declarations
exported from the library,
-
libgmp.[a,so,dyl]: the library compiled either
statically or dynamically.
1.Source code installation
The source code is available from the url http://gmplib.org/.
The installation instructions are
./configure && make && make install |
2.rpm
installation
For a rpm installation with yum,
type
3.Debian installation
For a debian installation with apt-get,
type
sudo apt-get install libgmp3-dev |
4.MacOSX installation
The fink packages for gmp are available at
The instructions to install them are:
sudo fink install gmp gmp-shlibs |
© 2008 Bernard Mourrain
Permission is granted to copy, distribute and/or modify this document
under the terms of the
GNU General Public License. If you
don't have this file, write to the Free Software Foundation, Inc., 59
Temple Place - Suite 330, Boston, MA 02111-1307, USA.