|
@@ -23,9 +23,8 @@
|
|
|
<sect2 role="package">
|
|
|
<title/>
|
|
|
|
|
|
- <para>The Libffi library provides a portable, high level programming
|
|
|
- interface to various calling conventions. This allows a programmer to call
|
|
|
- any function specified by a call interface description at run time.</para>
|
|
|
+ <para>Libffi 库提供一个可移植的高级编程接口,用于处理不同调用惯例。
|
|
|
+ 这允许程序员在运行时调用任何指定了调用接口说明的函数。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -40,11 +39,11 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>安装Libffi</title>
|
|
|
+ <title>安装 Libffi</title>
|
|
|
|
|
|
- <para>Modify the Makefile to install headers into the standard
|
|
|
- <filename class="directory">/usr/include</filename> directory instead of
|
|
|
- <filename class="directory">/usr/lib/libffi-3.2.1/include</filename>.</para>
|
|
|
+ <para>修改 Makefile ,将头文件安装到标准的
|
|
|
+ <filename class="directory">/usr/include</filename> 目录,而不是
|
|
|
+ <filename class="directory">/usr/lib/libffi-3.2.1/include</filename>。</para>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
|
|
|
-i include/Makefile.in
|
|
@@ -90,7 +89,7 @@ sed -e '/^includedir/ s/=.*$/=@includedir@/' \
|
|
|
<varlistentry id="libffi">
|
|
|
<term><filename class="libraryfile">libffi</filename></term>
|
|
|
<listitem>
|
|
|
- <para>contains the libffi API functions.</para>
|
|
|
+ <para>包含 libffi API 函数</para>
|
|
|
<indexterm zone="ch-system-libffi">
|
|
|
<primary sortas="c-libffi">libffi</primary>
|
|
|
</indexterm>
|