manpagez: man pages & more
info cln
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.2.1 Using the GNU MP Library

CLN may be configured to make use of a preinstalled gmp library for some low-level routines. Please make sure that you have at least gmp version 3.0 installed since earlier versions are unsupported and likely not to work. Using gmp is known to be quite a boost for CLN’s performance.

By default, CLN will autodetect gmp and use it. If you do not want CLN to make use of a preinstalled gmp library, then you can explicitly specify so by calling configure with the option ‘--without-gmp’.

If you have installed the gmp library and its header files in some place where the compiler cannot find it by default, you must help configure and specify the prefix that was used when gmp was configured. Here is an example:

$ ./configure --with-gmp=/opt/gmp-4.2.2

This assumes that the gmp header files have been installed in ‘/opt/gmp-4.2.2/include/’ and the library in ‘/opt/gmp-4.2.2/lib/’. More uncommon GMP installations can be handled by setting CPPFLAGS and LDFLAGS appropriately prior to running configure.

This document was generated on August 27, 2013 using texi2html 5.0.

© 2000-2018
Individual documents may contain additional copyright information.