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