source: general/genlib/libatomic_ops.xml@ 5df6476

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5df6476 was 5df6476, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to libatomic_ops-7.2e.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12323 af4574ff-66df-0310-9fd7-8a98e5e911e0

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