[b779049] | 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 |
|
---|
[bed6dae2] | 7 | <!ENTITY libatomic_ops-download-http
|
---|
[65f4210a] | 8 | "http://www.ivmaisoft.com/_bin/atomic_ops//libatomic_ops-&libatomic_ops-version;.tar.gz">
|
---|
[b779049] | 9 | <!ENTITY libatomic_ops-download-ftp " ">
|
---|
[65f4210a] | 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)">
|
---|
[b9d56ad4] | 13 | <!ENTITY libatomic_ops-time "less than 0.1 SBU (additional less than 0.1 SBU for tests)">
|
---|
[b779049] | 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 |
|
---|
[bed6dae2] | 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 |
|
---|
[dc440cc1] | 42 | &lfs76_checked;
|
---|
[b779049] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[9226ef4] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&libatomic_ops-download-http;"/>
|
---|
| 49 | </para>
|
---|
[b779049] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[9226ef4] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&libatomic_ops-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[b779049] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[9226ef4] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &libatomic_ops-md5sum;
|
---|
| 59 | </para>
|
---|
[b779049] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[9226ef4] | 62 | <para>
|
---|
| 63 | Download size: &libatomic_ops-size;
|
---|
| 64 | </para>
|
---|
[b779049] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[9226ef4] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &libatomic_ops-buildsize;
|
---|
| 69 | </para>
|
---|
[b779049] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[9226ef4] | 72 | <para>
|
---|
| 73 | Estimated build time: &libatomic_ops-time;
|
---|
| 74 | </para>
|
---|
[b779049] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
[bed6dae2] | 78 | <para condition="html" role="usernotes">
|
---|
| 79 | User Notes: <ulink url="&blfs-wiki;/libatomic_ops"/>
|
---|
| 80 | </para>
|
---|
[b779049] | 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of libatomic_ops</title>
|
---|
| 85 |
|
---|
[bed6dae2] | 86 | <para>
|
---|
| 87 | Install <application>libatomic_ops</application> by running the following
|
---|
| 88 | commands:
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
[dc440cc1] | 91 | <screen><userinput>sed -i 's#pkgdata#doc#' doc/Makefile.am Makefile.am &&
|
---|
[9226ef4] | 92 | autoreconf -fi &&
|
---|
[b9d56ad4] | 93 | ./configure --prefix=/usr \
|
---|
| 94 | --enable-shared \
|
---|
| 95 | --disable-static \
|
---|
| 96 | --docdir=/usr/share/doc/libatomic_ops-&libatomic_ops-version; &&
|
---|
[b779049] | 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
[4e143323] | 99 | <para>
|
---|
[0d7900a] | 100 | To check the results, issue
|
---|
[4e143323] | 101 | <command>LD_LIBRARY_PATH=../src/.libs make check</command>.
|
---|
| 102 | </para>
|
---|
[b779049] | 103 |
|
---|
[bed6dae2] | 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
[b779049] | 107 |
|
---|
[dc440cc1] | 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[0d7900a] | 109 |
|
---|
[852e5ac] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
[9226ef4] | 115 | <para>
|
---|
[b9d56ad4] | 116 | <command>sed -i ...</command>: This <command>sed</command> makes the docs
|
---|
| 117 | to be installed in an appropriate directory.
|
---|
[9226ef4] | 118 | </para>
|
---|
| 119 |
|
---|
[bed6dae2] | 120 | <para>
|
---|
[b9d56ad4] | 121 | <command>autoreconf -fi</command>: This regenerates the
|
---|
| 122 | <command>configure</command> script and the
|
---|
| 123 | <filename>Makefile.in</filename>.
|
---|
[bed6dae2] | 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
[b9d56ad4] | 127 | <parameter>--enable-shared</parameter>: This switch enables building of the
|
---|
| 128 | <filename class="libraryfile">libatomic_ops</filename> shared libraries.
|
---|
[bed6dae2] | 129 | </para>
|
---|
[b779049] | 130 |
|
---|
[bed6dae2] | 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 132 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 133 |
|
---|
[b779049] | 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="content">
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <segmentedlist>
|
---|
[c3c56b2] | 140 | <segtitle>Installed Programs</segtitle>
|
---|
[b779049] | 141 | <segtitle>Installed Libraries</segtitle>
|
---|
| 142 | <segtitle>Installed Directory</segtitle>
|
---|
| 143 |
|
---|
| 144 | <seglistitem>
|
---|
[c3c56b2] | 145 | <seg>
|
---|
| 146 | None
|
---|
| 147 | </seg>
|
---|
[bed6dae2] | 148 | <seg>
|
---|
[4e143323] | 149 | libatomic_ops.so and libatomic_ops_gpl.so
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
[5df6476] | 152 | /usr/include/libatomic_ops and
|
---|
| 153 | /usr/share/doc/libatomic_ops-&libatomic_ops-version;
|
---|
[bed6dae2] | 154 | </seg>
|
---|
[b779049] | 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="libatomic_ops-lib">
|
---|
[9226ef4] | 164 | <term><filename class="libraryfile">libatomic_ops.so</filename></term>
|
---|
[b779049] | 165 | <listitem>
|
---|
[9226ef4] | 166 | <para>
|
---|
| 167 | contains functions for atomic memory operations.
|
---|
| 168 | </para>
|
---|
[b779049] | 169 | <indexterm zone="libatomic_ops libatomic_ops-lib">
|
---|
[bed6dae2] | 170 | <primary sortas="c-libatomic_ops">libatomic_ops.so</primary>
|
---|
[b779049] | 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
[4e143323] | 174 |
|
---|
[b779049] | 175 | </variablelist>
|
---|
[4e143323] | 176 |
|
---|
[b779049] | 177 | </sect2>
|
---|
[4e143323] | 178 |
|
---|
[b779049] | 179 | </sect1>
|
---|