Move to GMP Libary folder and do the following
- Extract the
mpfr-3.1.3.tar.bz2
to a folder - Extract the
gmp-6.0.0a.tar.bz2
to a folder - Move to
mpfr-3.1.3
created folder and do the following ./configure
make
make check
sudo make install
- Move out of the
mpfr
directory and then move togmp-6.0.0
directory - Perform the following commands
./configure
make
make check
sudo make install
The GMP and MPFR libraries should now be setup and be compiled with GXX on the -lgmp and -lmpfr