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 # OpenBSD: CC=egcc CXX=eg++ ./configure CC=gcc CXX=g++ gmake # After building the library, test the build. The more thorough tests # download the IBM tests (text files): gmake check # If there is no network conection, skip the IBM tests: gmake check_local gmake install |
On OpenBSD, use egcc/eg++ until this issue is resolved.
tar xvzf mpdecimal-2.5.1.tar.gz cd mpdecimal-2.5.1 ./configure CC=clang CXX=clang++ gmake # After building the library, test the build. The more thorough tests # download the IBM tests (text files): gmake check # If there is no network conection, skip the IBM tests: gmake check_local gmake install |