Double-conversion-3.3.0

#### Beyond Linux® From Scratch (systemd Edition) - Version 12.2

### Chapter 9. General Libraries

- Prev

  dbus-glib-0.112

- Next

  duktape-2.7.0

- Up
- Home

# Double-conversion-3.3.0

## Introduction to Double-conversion

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 12.2 platform.

### Package Information

- Download (HTTP): https://github.com/google/double-conversion/archive/v3.3.0/double-conversion-3.3.0.tar.gz

- Download MD5 sum: b344abb64084a4a1d98a43e67752989b

- Download size: 6.7 MB

- Estimated disk space required: 62 MB (with tests)

- Estimated build time: 0.1 SBU (with tests)

### Double-conversion Dependencies

#### Required

CMake-3.30.2

## Installation of Double-conversion

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

## Command Explanations

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

## Contents

Installed Programs: None
Installed Libraries: libdouble-conversion.so
Installed Directories: /usr/include/double-conversion

### Short Descriptions

`libdouble-conversion.so` | provides binary-to-decimal and decimal-to-binary routines for IEEE doubles

- Prev

  dbus-glib-0.112

- Next

  duktape-2.7.0

- Up
- Home