|
@@ -23,8 +23,7 @@
|
|
|
<sect2 role="package">
|
|
|
<title/>
|
|
|
|
|
|
- <para>Libelf is a library for handling ELF (Executable and Linkable Format)
|
|
|
- files.</para>
|
|
|
+ <para>Libelf 是一个处理 ELF (可执行和可链接格式)文件的库。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -41,8 +40,8 @@
|
|
|
<sect2 role="installation">
|
|
|
<title>安装Libelf</title>
|
|
|
|
|
|
- <para>Libelf is part of elfutils-&elfutils-version; package. Use
|
|
|
- the elfutils-&elfutils-version;.tar.xz as the source tarball.</para>
|
|
|
+ <para>Libelf 是 elfutils-&elfutils-version; 软件包的一部分,
|
|
|
+ 使用 elfutils-&elfutils-version;.tar.xz 作为源代码包。</para>
|
|
|
|
|
|
<para>准备安装 Libelf:</para>
|
|
|
|
|
@@ -52,9 +51,9 @@
|
|
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
|
- <para>To test the results, issue <command>make check</command>.</para>
|
|
|
+ <para>执行 <command>make check</command> 以测试编译结果。</para>
|
|
|
|
|
|
- <para>Install only Libelf:</para>
|
|
|
+ <para>只安装 Libelf:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make -C libelf install
|
|
|
install -vm644 config/libelf.pc /usr/lib/pkgconfig</userinput></screen>
|
|
@@ -65,7 +64,7 @@ install -vm644 config/libelf.pc /usr/lib/pkgconfig</userinput></screen>
|
|
|
<title>Libelf 的内容</title>
|
|
|
|
|
|
<segmentedlist>
|
|
|
- <segtitle>Installed Library</segtitle>
|
|
|
+ <segtitle>安装的库</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
|
<seg>
|