The MPC package contains a library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.
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
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
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