[b8ff9ea] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[336e6f5] | 7 | <!ENTITY double-conversion-download-http "https://github.com/google/double-conversion/archive/v&double-conversion-version;/double-conversion-&double-conversion-version;.tar.gz">
|
---|
[b8ff9ea] | 8 | <!ENTITY double-conversion-download-ftp " ">
|
---|
| 9 | <!ENTITY double-conversion-md5sum "e94d3a33a417e692e5600e75019f0272">
|
---|
| 10 | <!ENTITY double-conversion-size "6.7 MB">
|
---|
| 11 | <!ENTITY double-conversion-buildsize "54 MB">
|
---|
| 12 | <!ENTITY double-conversion-time "0.1 SBU">
|
---|
| 13 |
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="double-conversion" xreflabel="double-conversion-&double-conversion-version;">
|
---|
| 17 | <?dbhtml filename="double-conversion.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Double-conversion-&double-conversion-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="double-conversion">
|
---|
| 27 | <primary sortas="a-double-conversion">double-conversion</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Double-conversion</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>Double-conversion</application> package contains a
|
---|
| 35 | library that facilitates binary-to-decimal and decimal-to-binary routines
|
---|
| 36 | for IEEE doubles.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[87351a9] | 39 | &lfs10_checked;
|
---|
[b8ff9ea] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&double-conversion-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&double-conversion-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &double-conversion-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &double-conversion-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &double-conversion-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &double-conversion-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">Double-conversion Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref linkend="cmake"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <para condition="html" role="usernotes">
|
---|
| 83 | User Notes: <ulink url="&blfs-wiki;/double-conversion"/>
|
---|
| 84 | </para>
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of Double-conversion</title>
|
---|
| 89 |
|
---|
| 90 | <para>
|
---|
| 91 | Install <application>Double-conversion</application> by running the following
|
---|
| 92 | commands:
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>mkdir build &&
|
---|
| 97 | cd build &&
|
---|
| 98 |
|
---|
| 99 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 100 | -DBUILD_SHARED_LIBS=ON \
|
---|
[336e6f5] | 101 | -DBUILD_TESTING=ON \
|
---|
| 102 | .. &&
|
---|
[b8ff9ea] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | To test the results, issue: <command>make test</command>.
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="commands">
|
---|
| 117 | <title>Command Explanations</title>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | <parameter>-DBUILD_SHARED_LIBS=ON</parameter>: This switch forces cmake to build
|
---|
| 121 | a shared version of the library instead of the static version.
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | <parameter>-DBUILD_TESTING=ON</parameter>: This switch builds the test programs.
|
---|
| 126 | </para>
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Programs</segtitle>
|
---|
| 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
| 138 | <seg>
|
---|
| 139 | None
|
---|
| 140 | </seg>
|
---|
| 141 | <seg>
|
---|
| 142 | libdouble-conversion.so
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
| 145 | /usr/include/double-conversion
|
---|
| 146 | </seg>
|
---|
| 147 | </seglistitem>
|
---|
| 148 | </segmentedlist>
|
---|
| 149 |
|
---|
| 150 | <variablelist>
|
---|
| 151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 152 | <?dbfo list-presentation="list"?>
|
---|
| 153 | <?dbhtml list-presentation="table"?>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="libdouble-conversion">
|
---|
| 156 | <term><filename class="libraryfile">libdouble-conversion.so</filename></term>
|
---|
| 157 | <listitem>
|
---|
| 158 | <para>
|
---|
| 159 | provides binary-to-decimal and decimal-to-binary routines for IEEE doubles.
|
---|
| 160 | </para>
|
---|
| 161 | <indexterm zone="double-conversion libdouble-conversion">
|
---|
| 162 | <primary sortas="c-libdouble-conversion">libdouble-conversion.so</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 | </variablelist>
|
---|
| 167 | </sect2>
|
---|
| 168 | </sect1>
|
---|