6.8. MPC-0.9

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

6.8.1. Installation of MPC

Prepare MPC for compilation:

LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
  ./configure --prefix=${CLFS}/cross-tools \
      --with-gmp=${CLFS}/cross-tools \
      --with-mpfr=${CLFS}/cross-tools

Compile the package:

make

Install the package:

make install

6.8.2. Contents of MPC

Installed libraries: libmpc.[a,so]

Short Descriptions

libmpc

The Multiple Precision Complex Library.