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