Skip to content. | Skip to navigation

Navigation

Personal tools

Mail Applications

Building a mail system

GNU MP

GNU Multiple Precision Arithmetic Library

GMP avoids warnings from ClamAV about digital signatures!

cd .../gmp-4.2.1

./configure --prefix=/usr/local/${PWD##*/}
make
make check
make install

Note

The GMP people shout very loudly about the make check stage. Omit it at your peril!

64bit Solaris

You can get caught out by 64bit Solaris, at least up to Nevada build 83 as the stock libgcc is 32bit and make check will fail utterly:

ld.so.1: t-bswap: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32

As this is a 64bit box we'd like it to be ELFCLASS64. There is a 64bit library but why it isn't being chosen is a mystery.

As a workaround, try:

./configure ... ABI=32

Document Actions