Details on this package are located in Section 10.15.2, “Contents of MPC.”
MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.
Prepare MPC for compilation:
CC="gcc -isystem /usr/include ${BUILD32}" \
LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib ${BUILD32}" \
EGREP="grep -E" ./configure --prefix=/usr --host=${CLFS_TARGET32}Compile the package:
make
![[Important]](../images/important.png)
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.15.2, “Contents of MPC.”