Compile and install GNU MP Bignum Library on Mac OS X Yosemite

  • Make sure you have xcode installed.
  • Excute the following commands to download, compile and install gmp 6.0.0 into /usr/local.
    cd /tmp; wget; tar jxvf gmp-6.0.0a.tar.bz2; cd gmp-6.0.0
    ./configure --prefix=/usr/local
    make check
    sudo make install
  • To check where the files are installed, run
    find /usr/local | grep gmp
    and you should see something like below:

see also

No comments:

Post a Comment