Browse Source

chapter06: Translate libtool instructions

Xi Ruoyao 7 years ago
parent
commit
3ec978c7f6
1 changed files with 17 additions and 17 deletions
  1. 17 17
      chapter06/libtool.xml

+ 17 - 17
chapter06/libtool.xml

@@ -23,9 +23,8 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Libtool package contains the GNU generic library support script.
-    It wraps the complexity of using shared libraries in a consistent, portable
-    interface.</para>
+    <para>Libtool 软件包包含 GNU 通用库支持脚本。
+    它在一个一致、可移植的接口下隐藏了使用共享库的复杂性。</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
@@ -50,19 +49,20 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>To test the results (about 11.0 SBU), issue:</para>
+    <para>为了测试编译结果(需要约 11.0 SBU),执行:</para>
 
 <screen><userinput remap="test">make check</userinput></screen>
 
-    <note><para>The test time for libtool can be reduced significantly on a
-    system with multiple cores.  To do this, append
-    <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above.  For
-    instance, using -j4 can reduce the test time by over 60
-    percent.</para></note>
+    <note><para>在多核系统上,可以显著减少 libtool 的测试时间。
+		为了使用多个核心,在上述命令中附加
+		<command>TESTSUITEFLAGS=-j&lt;N&gt;</command> 参数。
+		例如,使用 -j4 可以减少超过 60% 的测试时间。</para></note>
 
-    <para>Five tests are known to fail in the LFS build environment due
+    <!--para>Five tests are known to fail in the LFS build environment due
     to a circular dependency, but all tests pass if rechecked after 
-    automake is installed.</para>
+    automake is installed.</para-->
+    <para>在 LFS 构建环境中,已知有五个测试因为循环依赖而失败。
+		然而在 automake 安装后,所有测试都能通过。</para>
 
     <para>安装该软件包:</para>
 
@@ -80,9 +80,9 @@
       <segtitle>安装的目录</segtitle>
 
       <seglistitem>
-        <seg>libtool and libtoolize</seg>
+        <seg>libtool  libtoolize</seg>
         <seg>libltdl.so</seg>
-        <seg>/usr/include/libltdl and /usr/share/libtool</seg>
+        <seg>/usr/include/libltdl  /usr/share/libtool</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -94,7 +94,7 @@
       <varlistentry id="libtool">
         <term><command>libtool</command></term>
         <listitem>
-          <para>Provides generalized library-building support services</para>
+          <para>提供通用化库文件构建支持服务</para>
           <indexterm zone="ch-system-libtool libtool">
             <primary sortas="b-libtool">libtool</primary>
           </indexterm>
@@ -104,8 +104,8 @@
       <varlistentry id="libtoolize">
         <term><command>libtoolize</command></term>
         <listitem>
-          <para>Provides a standard way to add <command>libtool</command>
-          support to a package</para>
+          <para>提供为软件包增加 <command>libtool</command> 支持的标准方法
+          </para>
           <indexterm zone="ch-system-libtool libtoolize">
             <primary sortas="b-libtoolize">libtoolize</primary>
           </indexterm>
@@ -115,7 +115,7 @@
       <varlistentry id="libltdl">
         <term><filename class="libraryfile">libltdl</filename></term>
         <listitem>
-          <para>Hides the various difficulties of dlopening libraries</para>
+          <para>隐藏用 dlopen 加载库时可能遇到的若干困难</para>
           <indexterm zone="ch-system-libtool libltdl">
             <primary sortas="c-libltdl">libltdl</primary>
           </indexterm>