Next: MPIR Basics, Previous: Introduction to MPIR, Up: Top [Index]
MPIR has an autoconf/automake/libtool based configuration system. On a Unix-like system a basic build can be done with
./configure make
Some self-tests can be run with
make check
And you can install (under /usr/local by default) with
make install
Important note: by default MPIR produces libraries named libmpir, etc., and the header file mpir.h. If you wish to have MPIR to build a library named libgmp as well, etc., and a gmp.h header file, so that you can use mpir with programs designed to only work with GMP, then use the ‘--enable-gmpcompat’ option when invoking configure:
./configure --enable-gmpcompat
Note gmp.h is only created upon running make install.
MPIR is compatible with GMP when the ‘--enable-gmpcompat’ option is used, except that the GMP secure cryptographic functions are not available.
Some deprecated GMP functionality may be unavailable if this option is not selected.
If you experience problems, please report them to
http://groups.google.com/group/mpir-devel.
See Reporting Bugs, for information on what to include in useful bug reports.
• Build Options | ||
• ABI and ISA | ||
• Notes for Package Builds | ||
• Building with Microsoft Visual Studio | ||
• Notes for Particular Systems | ||
• Known Build Problems | ||
• Performance optimization |
Next: MPIR Basics, Previous: Introduction to MPIR, Up: Top [Index]