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 libatomic_ops-download-http
|
---|
8 | "http://www.ivmaisoft.com/_bin/atomic_ops//libatomic_ops-&libatomic_ops-version;.tar.gz">
|
---|
9 | <!ENTITY libatomic_ops-download-ftp " ">
|
---|
10 | <!ENTITY libatomic_ops-md5sum "1d6538604b314d2fccdf86915e5c0857">
|
---|
11 | <!ENTITY libatomic_ops-size "456 KB">
|
---|
12 | <!ENTITY libatomic_ops-buildsize "5.3 MB (additional 1.9 MB for tests)">
|
---|
13 | <!ENTITY libatomic_ops-time "less than 0.1 SBU (additional less than 0.1 SBU for tests)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="libatomic_ops" xreflabel="libatomic_ops-&libatomic_ops-version;">
|
---|
17 | <?dbhtml filename="libatomic_ops.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>libatomic_ops-&libatomic_ops-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="libatomic_ops">
|
---|
27 | <primary sortas="a-libatomic_ops">libatomic_ops</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to libatomic_ops</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>libatomic_ops</application> provides implementations for
|
---|
35 | atomic memory update operations on a number of architectures. This allows
|
---|
36 | direct use of these in reasonably portable code. Unlike earlier similar
|
---|
37 | packages, this one explicitly considers memory barrier semantics, and
|
---|
38 | allows the construction of code that involves minimum overhead across a
|
---|
39 | variety of architectures.
|
---|
40 | </para>
|
---|
41 |
|
---|
42 | &lfs76_checked;
|
---|
43 |
|
---|
44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
45 | <itemizedlist spacing="compact">
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (HTTP): <ulink url="&libatomic_ops-download-http;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download (FTP): <ulink url="&libatomic_ops-download-ftp;"/>
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download MD5 sum: &libatomic_ops-md5sum;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Download size: &libatomic_ops-size;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated disk space required: &libatomic_ops-buildsize;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Estimated build time: &libatomic_ops-time;
|
---|
74 | </para>
|
---|
75 | </listitem>
|
---|
76 | </itemizedlist>
|
---|
77 |
|
---|
78 | <para condition="html" role="usernotes">
|
---|
79 | User Notes: <ulink url="&blfs-wiki;/libatomic_ops"/>
|
---|
80 | </para>
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2 role="installation">
|
---|
84 | <title>Installation of libatomic_ops</title>
|
---|
85 |
|
---|
86 | <para>
|
---|
87 | Install <application>libatomic_ops</application> by running the following
|
---|
88 | commands:
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <screen><userinput>sed -i 's#pkgdata#doc#' doc/Makefile.am &&
|
---|
92 | autoreconf -fi &&
|
---|
93 | ./configure --prefix=/usr \
|
---|
94 | --enable-shared \
|
---|
95 | --disable-static \
|
---|
96 | --docdir=/usr/share/doc/libatomic_ops-&libatomic_ops-version; &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | To check the results, issue
|
---|
101 | <command>LD_LIBRARY_PATH=../src/.libs make check</command>.
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen role="root"><userinput>make install &&
|
---|
109 | mv -v /usr/share/libatomic_ops/* \
|
---|
110 | /usr/share/doc/libatomic_ops-&libatomic_ops-version; &&
|
---|
111 | rm -vrf /usr/share/libatomic_ops</userinput></screen>
|
---|
112 |
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="commands">
|
---|
116 | <title>Command Explanations</title>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | <command>sed -i ...</command>: This <command>sed</command> makes the docs
|
---|
120 | to be installed in an appropriate directory.
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | <command>autoreconf -fi</command>: This regenerates the
|
---|
125 | <command>configure</command> script and the
|
---|
126 | <filename>Makefile.in</filename>.
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | <parameter>--enable-shared</parameter>: This switch enables building of the
|
---|
131 | <filename class="libraryfile">libatomic_ops</filename> shared libraries.
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
135 | href="../../xincludes/static-libraries.xml"/>
|
---|
136 |
|
---|
137 | </sect2>
|
---|
138 |
|
---|
139 | <sect2 role="content">
|
---|
140 | <title>Contents</title>
|
---|
141 |
|
---|
142 | <segmentedlist>
|
---|
143 | <segtitle>Installed Programs</segtitle>
|
---|
144 | <segtitle>Installed Libraries</segtitle>
|
---|
145 | <segtitle>Installed Directory</segtitle>
|
---|
146 |
|
---|
147 | <seglistitem>
|
---|
148 | <seg>
|
---|
149 | None
|
---|
150 | </seg>
|
---|
151 | <seg>
|
---|
152 | libatomic_ops.so and libatomic_ops_gpl.so
|
---|
153 | </seg>
|
---|
154 | <seg>
|
---|
155 | /usr/include/libatomic_ops and
|
---|
156 | /usr/share/doc/libatomic_ops-&libatomic_ops-version;
|
---|
157 | </seg>
|
---|
158 | </seglistitem>
|
---|
159 | </segmentedlist>
|
---|
160 |
|
---|
161 | <variablelist>
|
---|
162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
163 | <?dbfo list-presentation="list"?>
|
---|
164 | <?dbhtml list-presentation="table"?>
|
---|
165 |
|
---|
166 | <varlistentry id="libatomic_ops-lib">
|
---|
167 | <term><filename class="libraryfile">libatomic_ops.so</filename></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | contains functions for atomic memory operations.
|
---|
171 | </para>
|
---|
172 | <indexterm zone="libatomic_ops libatomic_ops-lib">
|
---|
173 | <primary sortas="c-libatomic_ops">libatomic_ops.so</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | </variablelist>
|
---|
179 |
|
---|
180 | </sect2>
|
---|
181 |
|
---|
182 | </sect1>
|
---|