|
@@ -1,4 +1,4 @@
|
|
|
-<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
+<?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">
|
|
@@ -40,7 +40,7 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>Installation of Libffi</title>
|
|
|
+ <title>安装Libffi</title>
|
|
|
|
|
|
<para>Modify the Makefile to install headers into the standard
|
|
|
<filename class="directory">/usr/include</filename> directory instead of
|
|
@@ -53,29 +53,29 @@ sed -e '/^includedir/ s/=.*$/=@includedir@/' \
|
|
|
-e 's/^Cflags: -I${includedir}/Cflags:/' \
|
|
|
-i libffi.pc.in</userinput></screen>
|
|
|
|
|
|
- <para>Prepare libffi for compilation:</para>
|
|
|
+ <para>准备安装 libffi:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
|
|
|
|
|
|
- <para>Compile the package:</para>
|
|
|
+ <para>编译该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
|
- <para>To test the results, issue:</para>
|
|
|
+ <para>运行下列命令以测试编译结果:</para>
|
|
|
|
|
|
<screen><userinput remap="test">make check</userinput></screen>
|
|
|
|
|
|
- <para>Install the package:</para>
|
|
|
+ <para>安装该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="contents-libffi" role="content">
|
|
|
- <title>Contents of Libffi</title>
|
|
|
+ <title>Libffi 的内容</title>
|
|
|
|
|
|
<segmentedlist>
|
|
|
- <segtitle>Installed library</segtitle>
|
|
|
+ <segtitle>安装的库</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
|
<seg>libffi.so</seg>
|
|
@@ -83,7 +83,7 @@ sed -e '/^includedir/ s/=.*$/=@includedir@/' \
|
|
|
</segmentedlist>
|
|
|
|
|
|
<variablelist>
|
|
|
- <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
+ <bridgehead renderas="sect3">简要描述</bridgehead>
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|