10.18. MPC-1.0.1 N32 Libraries

MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.

10.18.1. Installation of MPC

Prepare MPC for compilation:

CC="gcc -isystem /usr/include ${BUILDN32}" \
LDFLAGS="-Wl,-rpath-link,/usr/lib32:/lib32 ${BUILDN32}" \
  ./configure --prefix=/usr --libdir=/usr/lib32

Compile the package:

make
[Important]

Important

The test suite for MPC is considered critical. Do not skip it under any circumstance.

Test the results:

make check

Install the package:

make install

Details on this package are located in Section 10.19.2, “Contents of MPC.”