mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
4de231757f
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22705 af4574ff-66df-0310-9fd7-8a98e5e911e0
165 lines
4.8 KiB
XML
165 lines
4.8 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY libatomic_ops-download-http "https://github.com/ivmai/libatomic_ops/releases/download/v&libatomic_ops-version;/libatomic_ops-&libatomic_ops-version;.tar.gz">
|
|
<!ENTITY libatomic_ops-download-ftp " ">
|
|
<!ENTITY libatomic_ops-md5sum "90a78a84d9c28ce11f331c25289bfbd0">
|
|
<!ENTITY libatomic_ops-size "492 KB">
|
|
<!ENTITY libatomic_ops-buildsize "7.0 MB (with tests)">
|
|
<!ENTITY libatomic_ops-time "0.2 SBU (with tests)">
|
|
]>
|
|
|
|
<sect1 id="libatomic_ops" xreflabel="libatomic_ops-&libatomic_ops-version;">
|
|
<?dbhtml filename="libatomic_ops.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>libatomic_ops-&libatomic_ops-version;</title>
|
|
|
|
<indexterm zone="libatomic_ops">
|
|
<primary sortas="a-libatomic_ops">libatomic_ops</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libatomic_ops</title>
|
|
|
|
<para>
|
|
<application>libatomic_ops</application> provides implementations for
|
|
atomic memory update operations on a number of architectures. This allows
|
|
direct use of these in reasonably portable code. Unlike earlier similar
|
|
packages, this one explicitly considers memory barrier semantics, and
|
|
allows the construction of code that involves minimum overhead across a
|
|
variety of architectures.
|
|
</para>
|
|
|
|
&lfs91_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&libatomic_ops-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&libatomic_ops-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &libatomic_ops-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &libatomic_ops-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &libatomic_ops-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &libatomic_ops-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/libatomic_ops"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libatomic_ops</title>
|
|
|
|
<para>
|
|
Install <application>libatomic_ops</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--docdir=/usr/share/doc/libatomic_ops-&libatomic_ops-version; &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
To check the results, issue <command>make check</command>.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<parameter>--enable-shared</parameter>: This switch enables building of the
|
|
<filename class="libraryfile">libatomic_ops</filename> shared libraries.
|
|
</para>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libatomic_ops.so and libatomic_ops_gpl.so
|
|
</seg>
|
|
<seg>
|
|
/usr/include/libatomic_ops and
|
|
/usr/share/doc/libatomic_ops-&libatomic_ops-version;
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libatomic_ops-lib">
|
|
<term><filename class="libraryfile">libatomic_ops.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions for atomic memory operations.
|
|
</para>
|
|
<indexterm zone="libatomic_ops libatomic_ops-lib">
|
|
<primary sortas="c-libatomic_ops">libatomic_ops.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|