back to index

Solaris: libmpdec/libmpdec++ install instructions

Package information

Install instructions

The instructions install libmpdec and libmpdec++. If no C++ compiler is available, add --disable-cxx to the configure options.

64-bit gcc


# Workaround for: ar: No such file or directory.
export PATH=$PATH:/usr/ccs/bin/

# Solaris tar is not posix compliant:
gtar xvf mpdecimal-4.0.0.tar.gz
cd mpdecimal-4.0.0

./configure CC=gcc CXX=g++ MACHINE=uint128
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

32-bit gcc


# Workaround for: ar: No such file or directory
export PATH=$PATH:/usr/ccs/bin/

# Solaris tar is not posix compliant:
gtar xvf mpdecimal-4.0.0.tar.gz
cd mpdecimal-4.0.0

./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

Contact:

Stefan Krah <website @ bytereef.org>