| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 | 
							- <?xml version="1.0" encoding="UTF-8"?>
 
- <!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;
 
- ]>
 
- <sect1 id="ch-system-libelf" role="wrap">
 
-   <?dbhtml filename="libelf.html"?>
 
-   <sect1info condition="script">
 
-     <productname>libelf</productname>
 
-     <productnumber>&elfutils-version;</productnumber>
 
-     <address>&elfutils-url;</address>
 
-   </sect1info>
 
-   <title>Elfutils-&elfutils-version; 中的 Libelf</title>
 
-   <indexterm zone="ch-system-libelf">
 
-     <primary sortas="a-Libelf">Libelf</primary>
 
-   </indexterm>
 
-   <sect2 role="package">
 
-     <title/>
 
-     <para>Libelf 是一个处理 ELF (可执行和可链接格式)文件的库。</para>
 
-     <segmentedlist>
 
-       <segtitle>&buildtime;</segtitle>
 
-       <segtitle>&diskspace;</segtitle>
 
-       <seglistitem>
 
-         <seg>&elfutils-ch6-sbu;</seg>
 
-         <seg>&elfutils-ch6-du;</seg>
 
-       </seglistitem>
 
-     </segmentedlist>
 
-   </sect2>
 
-   <sect2 role="installation">
 
-     <title>安装 Libelf</title>
 
-       <para>Libelf 是 elfutils-&elfutils-version; 软件包的一部分,
 
-       使用 elfutils-&elfutils-version;.tar.bz2 作为源代码包。</para>
 
-     <para>准备编译 Libelf:</para>
 
- <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
 
-     <para>编译该软件包:</para>
 
- <screen><userinput remap="make">make</userinput></screen>
 
-     <para>执行下列命令以测试编译结果:</para>
 
-     
 
- <screen><userinput remap="test">make check</userinput></screen>
 
-     <para>只安装 Libelf:</para>
 
- <screen><userinput remap="install">make -C libelf install
 
- install -vm644 config/libelf.pc /usr/lib/pkgconfig</userinput></screen>
 
-   </sect2>
 
-   <sect2 id="contents-elfutils" role="content">
 
-     <title>Libelf 的内容</title>
 
-     <segmentedlist>
 
-       <segtitle>安装的库</segtitle>
 
-       <segtitle>安装的目录</segtitle>
 
-       <seglistitem>
 
-         <seg>
 
-           libelf.so
 
-         </seg>
 
-         <seg>
 
-           /usr/include/elfutils
 
-         </seg>
 
-       </seglistitem>
 
-     </segmentedlist>
 
-   </sect2>
 
- </sect1>
 
 
  |