back to index

Windows: libmpdec/libmpdec++ install instructions

Package information

Common instructions

All instructions build libmpdec and libmpdec++. Since Windows now has BSD tar, mpdecimal-4.0.0.tar.gz is preferred. The instructions assume that mpdecimal-4.0.0 is the current working directory.


tar xvf mpdecimal-4.0.0.tar.gz
cd mpdecimal-4.0.0

rem If you switch to a different build type, clean the directory:
cd vcbuild
vcdistclean.bat

Visual Studio

Use one of the following choices:

PGO|x64


rem The build result is in vcbuild\dist64.
cd vcbuild
pgobuild64.bat

rem Compile and run the tests. Requires a network connection for downloading
rem test cases (text files).
runshort.bat

Release|x64


rem The build result is in vcbuild\dist64.
cd vcbuild
vcbuild64.bat

rem Compile and run the tests. Requires a network connection for downloading
rem test cases (text files).
runshort.bat

Debug|x64


rem The build result is in vcbuild\dist64.
cd vcbuild
vcbuild64.bat /d

rem Compile and run the tests. Requires a network connection for downloading
rem test cases (text files).
runshort.bat /d

PGO|x86


rem The build result is in vcbuild\dist32.
cd vcbuild
pgobuild32.bat

rem Compile and run the tests. Requires a network connection for downloading
rem test cases (text files).
runshort.bat

Release|x86


rem The build result is in vcbuild\dist32.
cd vcbuild
vcbuild32.bat

rem Compile and run the tests. Requires a network connection for downloading
rem test cases (text files).
runshort.bat

Debug|x86


rem The build result is in vcbuild\dist32.
cd vcbuild
vcbuild32.bat /d

rem Compile and run the tests. Requires a network connection for downloading
rem test cases (text files).
runshort.bat /d

Contact:

Stefan Krah <website @ bytereef.org>