The Double-conversion package contains a library that facilitates binary-to-decimal and decimal-to-binary routines for IEEE doubles.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://github.com/google/double-conversion/archive/v3.2.1/double-conversion-3.2.1.tar.gz
Download MD5 sum: ccdcf76f6df822fb5488425e85707e55
Download size: 6.7 MB
Estimated disk space required: 55 MB (with tests)
Estimated build time: 0.1 SBU (with tests)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/double-conversion
Install Double-conversion by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_TESTING=ON \ .. && make
To test the results, issue: make test.
Now, as the root
user:
make install
-DBUILD_SHARED_LIBS=ON
:
This switch forces cmake to build a shared version of the library
instead of the static version.
-DBUILD_TESTING=ON
: This
switch builds the test programs.