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.
下载地址(HTTP):https://github.com/google/double-conversion/archive/v3.4.0/double-conversion-3.4.0.tar.gz
MD5 校验和:cb2e555c32614f680ba928e962dda9be
大小:6.7 MB
预计所需磁盘空间:62 MB(含测试)
预计构建时间:小于 0.1 SBU(含测试)
Install Double-conversion by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
-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
CMAKE_POLICY_VERSION_MINIMUM=3.5: This switch allows
building this package with cmake-4.0 or newer.
-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.