[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 |
|
---|
[d0db416] | 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">
|
---|
[b779049] | 8 | <!ENTITY libatomic_ops-download-ftp " ">
|
---|
[3201e53] | 9 | <!ENTITY libatomic_ops-md5sum "90a78a84d9c28ce11f331c25289bfbd0">
|
---|
[b6659065] | 10 | <!ENTITY libatomic_ops-size "492 KB">
|
---|
| 11 | <!ENTITY libatomic_ops-buildsize "7.0 MB (with tests)">
|
---|
[8d126a36] | 12 | <!ENTITY libatomic_ops-time "0.2 SBU (with tests)">
|
---|
[b779049] | 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 |
|
---|
[bed6dae2] | 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 |
|
---|
[38489aa0] | 41 | &lfs84_checked;
|
---|
[b779049] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[9226ef4] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&libatomic_ops-download-http;"/>
|
---|
| 48 | </para>
|
---|
[b779049] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[9226ef4] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&libatomic_ops-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[b779049] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[9226ef4] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &libatomic_ops-md5sum;
|
---|
| 58 | </para>
|
---|
[b779049] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[9226ef4] | 61 | <para>
|
---|
| 62 | Download size: &libatomic_ops-size;
|
---|
| 63 | </para>
|
---|
[b779049] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[9226ef4] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &libatomic_ops-buildsize;
|
---|
| 68 | </para>
|
---|
[b779049] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[9226ef4] | 71 | <para>
|
---|
| 72 | Estimated build time: &libatomic_ops-time;
|
---|
| 73 | </para>
|
---|
[b779049] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
[bed6dae2] | 77 | <para condition="html" role="usernotes">
|
---|
| 78 | User Notes: <ulink url="&blfs-wiki;/libatomic_ops"/>
|
---|
| 79 | </para>
|
---|
[b779049] | 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of libatomic_ops</title>
|
---|
| 84 |
|
---|
[bed6dae2] | 85 | <para>
|
---|
| 86 | Install <application>libatomic_ops</application> by running the following
|
---|
| 87 | commands:
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
[d0db416] | 90 | <screen><userinput>./configure --prefix=/usr \
|
---|
[b9d56ad4] | 91 | --enable-shared \
|
---|
| 92 | --disable-static \
|
---|
| 93 | --docdir=/usr/share/doc/libatomic_ops-&libatomic_ops-version; &&
|
---|
[b779049] | 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
[4e143323] | 96 | <para>
|
---|
[d0db416] | 97 | To check the results, issue <command>make check</command>.
|
---|
[4e143323] | 98 | </para>
|
---|
[b779049] | 99 |
|
---|
[bed6dae2] | 100 | <para>
|
---|
| 101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 102 | </para>
|
---|
[b779049] | 103 |
|
---|
[d0db416] | 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[0d7900a] | 105 |
|
---|
[852e5ac] | 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
[bed6dae2] | 111 | <para>
|
---|
[b9d56ad4] | 112 | <parameter>--enable-shared</parameter>: This switch enables building of the
|
---|
| 113 | <filename class="libraryfile">libatomic_ops</filename> shared libraries.
|
---|
[bed6dae2] | 114 | </para>
|
---|
[b779049] | 115 |
|
---|
[bed6dae2] | 116 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 117 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 118 |
|
---|
[b779049] | 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="content">
|
---|
| 122 | <title>Contents</title>
|
---|
| 123 |
|
---|
| 124 | <segmentedlist>
|
---|
[c3c56b2] | 125 | <segtitle>Installed Programs</segtitle>
|
---|
[b779049] | 126 | <segtitle>Installed Libraries</segtitle>
|
---|
| 127 | <segtitle>Installed Directory</segtitle>
|
---|
| 128 |
|
---|
| 129 | <seglistitem>
|
---|
[c3c56b2] | 130 | <seg>
|
---|
| 131 | None
|
---|
| 132 | </seg>
|
---|
[bed6dae2] | 133 | <seg>
|
---|
[4e143323] | 134 | libatomic_ops.so and libatomic_ops_gpl.so
|
---|
| 135 | </seg>
|
---|
| 136 | <seg>
|
---|
[5df6476] | 137 | /usr/include/libatomic_ops and
|
---|
| 138 | /usr/share/doc/libatomic_ops-&libatomic_ops-version;
|
---|
[bed6dae2] | 139 | </seg>
|
---|
[b779049] | 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">
|
---|
[9226ef4] | 149 | <term><filename class="libraryfile">libatomic_ops.so</filename></term>
|
---|
[b779049] | 150 | <listitem>
|
---|
[9226ef4] | 151 | <para>
|
---|
| 152 | contains functions for atomic memory operations.
|
---|
| 153 | </para>
|
---|
[b779049] | 154 | <indexterm zone="libatomic_ops libatomic_ops-lib">
|
---|
[bed6dae2] | 155 | <primary sortas="c-libatomic_ops">libatomic_ops.so</primary>
|
---|
[b779049] | 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
[4e143323] | 159 |
|
---|
[b779049] | 160 | </variablelist>
|
---|
[4e143323] | 161 |
|
---|
[b779049] | 162 | </sect2>
|
---|
[4e143323] | 163 |
|
---|
[b779049] | 164 | </sect1>
|
---|