The Double-conversion package contains a library that facilitates binary-to-decimal and decimal-to-binary routines for IEEE doubles.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/google/double-conversion/archive/v3.3.1/double-conversion-3.3.1.tar.gz
Download MD5 sum: 7bbcf4bd2e1a96ef9d2a6fa60e887276
Download size: 6.7 MB
Estimated disk space required: 62 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
Install Double-conversion by running the following commands:
mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D BUILD_SHARED_LIBS=ON \ -D BUILD_TESTING=ON \ .. && make
To test the results, issue: make test.
Now, as the root
user:
make install
-D BUILD_SHARED_LIBS=ON
:
This switch forces cmake to build a shared version of the library
instead of the static version.
-D BUILD_TESTING=ON
: This
switch builds the test programs.