Download (HTTPS): mpdecimal-2.5.1.tar.gz
Download size: 2.5 MB
The instructions install libmpdec and libmpdec++. If no C++ compiler is available, add --disable-cxx to the configure options.
tar xvzf mpdecimal-2.5.1.tar.gz cd mpdecimal-2.5.1 # For enabling PGO: ./configure --enable-profile ./configure make # After building the library, test the build. The more thorough tests # download the IBM tests (text files): make check # Alternatively, if there is no network conection, skip the IBM tests: make check_local make install |
tar xvzf mpdecimal-2.5.1.tar.gz cd mpdecimal-2.5.1 ./configure CC=clang CXX=clang++ make # After building the library, test the build. The more thorough tests # download the IBM tests (text files): make check # Alternatively, if there is no network conection, skip the IBM tests: make check_local make install |
tar xvzf mpdecimal-2.5.1.tar.gz cd mpdecimal-2.5.1 # For enabling PGO: ./configure CC=icc CXX=icpc AR=xiar --enable-profile ./configure CC=icc CXX=icpc AR=xiar make # After building the library, test the build. The more thorough tests # download the IBM tests (text files): make check # Alternatively, if there is no network conection, skip the IBM tests: make check_local make install |