1
0

libstdc++.po 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  5. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  6. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  7. "Language-Team: LANGUAGE <LL@li.org>\n"
  8. "Language: zh_CN\n"
  9. "MIME-Version: 1.0\n"
  10. "Content-Type: text/plain; charset=UTF-8\n"
  11. "Content-Transfer-Encoding: 8bit\n"
  12. "X-Generator: Translate Toolkit 2.2.5\n"
  13. #. type: Content of: <sect1><sect1info><address>
  14. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:14
  15. #, no-wrap
  16. msgid "&gcc-url;"
  17. msgstr "&gcc-url;"
  18. #. type: Content of: <sect1><sect1info>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:12
  20. msgid ""
  21. "<productname>gcc-libstdc++</productname> <productnumber>&gcc-version;</"
  22. "productnumber> <placeholder type=\"address\" id=\"0\"/>"
  23. msgstr ""
  24. "<productname>gcc-libstdc++</productname> <productnumber>&gcc-version;</"
  25. "productnumber> <placeholder type=\"address\" id=\"0\"/>"
  26. #. type: Content of: <sect1><title>
  27. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:17
  28. msgid "Libstdc++ from GCC-&gcc-version;, Pass 1"
  29. msgstr "GCC-&gcc-version; 中的 Libstdc++,第一遍"
  30. #. type: Content of: <sect1><indexterm><primary>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:20
  32. msgid "GCC"
  33. msgstr "GCC"
  34. #. type: Content of: <sect1><indexterm><secondary>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:21
  36. msgid "tools, libstdc++ pass 1"
  37. msgstr "工具,第一遍的 Libstdc++"
  38. #. type: Content of: <sect1><sect2><para>
  39. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:27
  40. msgid ""
  41. "Libstdc++ is the standard C++ library. It is needed to compile C++ code "
  42. "(part of GCC is written in C++), but we had to defer its installation when "
  43. "we built <xref linkend=\"ch-tools-gcc-pass1\"/> because it depends on glibc, "
  44. "which was not yet available in the target directory."
  45. msgstr ""
  46. "Libstdc++ 是 C++ 标准库。我们需要它才能编译 C++ 代码 (GCC 的一部分用 C++ 编"
  47. "写)。但在构建<xref linkend=\"ch-tools-gcc-pass1\"/>时我们不得不暂缓安装"
  48. "它,因为它依赖于当时还没有安装到目标目录的 Glibc。"
  49. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  50. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:36
  51. msgid "&buildtime;"
  52. msgstr "&buildtime;"
  53. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  54. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:37
  55. msgid "&diskspace;"
  56. msgstr "&diskspace;"
  57. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  58. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:40
  59. msgid "&libstdcpp-tmpp1-sbu;"
  60. msgstr "&libstdcpp-tmpp1-sbu;"
  61. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  62. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:41
  63. msgid "&libstdcpp-tmpp1-du;"
  64. msgstr "&libstdcpp-tmpp1-du;"
  65. #. type: Content of: <sect1><sect2><title>
  66. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:48
  67. msgid "Installation of Target Libstdc++"
  68. msgstr "安装目标系统的 Libstdc++"
  69. #. type: Content of: <sect1><sect2><note><para>
  70. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:51
  71. msgid ""
  72. "<application>Libstdc++</application> is part of the GCC sources. You should "
  73. "first unpack the GCC tarball and change to the <filename>gcc-&gcc-version;</"
  74. "filename> directory."
  75. msgstr ""
  76. "<application>Libstdc++</application> 是 GCC 源代码的一部分。您应该先解压 "
  77. "GCC 源码包并切换到解压出来的 <filename>gcc-&gcc-version;</filename> 目录。"
  78. #. type: Content of: <sect1><sect2><para>
  79. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:56
  80. msgid "Create a separate build directory for libstdc++ and enter it:"
  81. msgstr "为 Libstdc++ 创建一个单独的构建目录,并进入它:"
  82. #. type: Content of: <sect1><sect2><screen>
  83. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:58
  84. #, no-wrap
  85. msgid ""
  86. "<userinput remap=\"pre\">mkdir -v build\n"
  87. "cd build</userinput>"
  88. msgstr ""
  89. "<userinput remap=\"pre\">mkdir -v build\n"
  90. "cd build</userinput> "
  91. #. type: Content of: <sect1><sect2><para>
  92. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:61
  93. msgid "Prepare libstdc++ for compilation:"
  94. msgstr "准备编译 Libstdc++:"
  95. #. type: Content of: <sect1><sect2><screen>
  96. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:63
  97. #, no-wrap
  98. msgid ""
  99. "<userinput remap=\"configure\">../libstdc++-v3/configure \\\n"
  100. " --host=$LFS_TGT \\\n"
  101. " --build=$(../config.guess) \\\n"
  102. " --prefix=/usr \\\n"
  103. " --disable-multilib \\\n"
  104. " --disable-nls \\\n"
  105. " --disable-libstdcxx-pch \\\n"
  106. " --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</userinput>"
  107. msgstr ""
  108. "<userinput remap=\"configure\">../libstdc++-v3/configure \\\n"
  109. " --host=$LFS_TGT \\\n"
  110. " --build=$(../config.guess) \\\n"
  111. " --prefix=/usr \\\n"
  112. " --disable-multilib \\\n"
  113. " --disable-nls \\\n"
  114. " --disable-libstdcxx-pch \\\n"
  115. " --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</userinput>"
  116. #. type: Content of: <sect1><sect2><variablelist><title>
  117. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:73
  118. msgid "The meaning of the configure options:"
  119. msgstr "配置选项的含义:"
  120. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  121. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:76
  122. msgid "<parameter>--host=...</parameter>"
  123. msgstr "<parameter>--host=...</parameter> "
  124. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  125. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:78
  126. msgid ""
  127. "Specifies the use the cross compiler we have just built instead of the one "
  128. "in <filename>/usr/bin</filename>."
  129. msgstr ""
  130. "指定使用我们刚刚构建的交叉编译器,而不是 <filename>/usr/bin</filename> 中的宿主系"
  131. "统编译器。"
  132. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  133. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:84
  134. msgid "<parameter>--disable-libstdcxx-pch</parameter>"
  135. msgstr "<parameter>--disable-libstdcxx-pch</parameter> "
  136. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  137. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:86
  138. msgid ""
  139. "This switch prevents the installation of precompiled include files, which "
  140. "are not needed at this stage."
  141. msgstr "这个开关防止安装预编译头文件,在这个阶段不需要它们。"
  142. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  143. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:92
  144. msgid ""
  145. "<parameter>--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</"
  146. "parameter>"
  147. msgstr ""
  148. "<parameter>--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</"
  149. "parameter>"
  150. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  151. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:94
  152. msgid ""
  153. "This is the location where the C++ compiler should search for the standard "
  154. "include files. In a normal build, this information is automatically passed "
  155. "to the libstdc++ <command>configure</command> options from the top level "
  156. "directory. In our case, this information must be explicitly given."
  157. msgstr ""
  158. "C++ 编译器应该在这个位置搜索标准头文件。在正常的构建过程中,这项信息被顶层目录"
  159. "构建系统自动传递给 Libstdc++ <command>configure</command> 脚本。然而我们"
  160. "没有使用顶层构建系统,必须明确给出这项信息。"
  161. #. type: Content of: <sect1><sect2><para>
  162. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:104
  163. msgid "Compile libstdc++ by running:"
  164. msgstr "运行以下命令编译 Libstdc++:"
  165. #. type: Content of: <sect1><sect2><screen>
  166. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:106
  167. #, no-wrap
  168. msgid "<userinput remap=\"make\">make</userinput>"
  169. msgstr "<userinput remap=\"make\">make</userinput>"
  170. #. type: Content of: <sect1><sect2><para>
  171. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:108
  172. msgid "Install the library:"
  173. msgstr "安装这个库:"
  174. #. type: Content of: <sect1><sect2><screen>
  175. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:110
  176. #, no-wrap
  177. msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
  178. msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
  179. #. type: Content of: <sect1><sect2><para>
  180. #: /home/xry111/svn-repos/LFS-BOOK/chapter05/libstdc++.xml:117
  181. msgid ""
  182. "Details on this package are located in <xref linkend=\"contents-gcc\" role="
  183. "\".\"/>"
  184. msgstr "关于该软件包的详细信息可以在<xref linkend=\"contents-gcc\"/>中找到。"