6.16. MPC-1.0.3

The MPC package contains a library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.

Approximate build time: 0.3 SBU
Required disk space: 11.2 MB

6.16.1. Installation of MPC

6.16.2. 32-bit Installation

Prepare MPC for 32-bit compilation:

./configure --prefix=/usr \
--libdir=/usr/lib32       \
CC="gcc -m32"

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

Clean up the build directory before moving on to the next platform:

make clean

6.16.3. x32 ABI Installation

Prepare MPC for x32 ABI compilation:

./configure --prefix=/usr \
--libdir=/usr/libx32      \
CC="gcc -mx32"

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

Clean up the build directory before moving on to the next platform:

make clean

6.16.4. 64-bit Installation

Prepare MPC for 64-bit compilation:

./configure --prefix=/usr --docdir=/usr/share/doc/mpc-1.0.3

Compile the package and generate the HTML documentation:

make
make html

To test the results, issue:

make check

Install the package and its documentation:

make install
make install-html

6.16.5. Contents of MPC

Installed Libraries: libmpc.{a,so}
Installed Directory: /usr/share/doc/mpc-1.0.3

Short Descriptions

libmpc

Contains complex math functions