libstdc++-pass2.po 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. #. type: Content of: <sect1><sect1info><address>
  13. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:14
  14. #, no-wrap
  15. msgid "&gcc-url;"
  16. msgstr "&gcc-url;"
  17. #. type: Content of: <sect1><sect1info>
  18. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:12
  19. msgid ""
  20. "<productname>gcc-libstdc++</productname> "
  21. "<productnumber>&gcc-version;</productnumber> <placeholder type=\"address\" "
  22. "id=\"0\"/>"
  23. msgstr ""
  24. "<productname>gcc-libstdc++</productname> "
  25. "<productnumber>&gcc-version;</productnumber> <placeholder type=\"address\" "
  26. "id=\"0\"/>"
  27. #. type: Content of: <sect1><title>
  28. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:17
  29. msgid "Libstdc++ from GCC-&gcc-version;, Pass 2"
  30. msgstr "GCC-&gcc-version; 中的 Libstdc++,第二遍"
  31. #. type: Content of: <sect1><indexterm><primary>
  32. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:20
  33. msgid "GCC"
  34. msgstr "GCC"
  35. #. type: Content of: <sect1><indexterm><secondary>
  36. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:21
  37. msgid "tools, libstdc++ pass 2"
  38. msgstr "工具,第二遍的 Libstdc++"
  39. #. type: Content of: <sect1><sect2><para>
  40. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:27
  41. msgid ""
  42. "When building <xref linkend=\"ch-tools-gcc-pass2\"/> we had to defer the "
  43. "installation of the C++ standard library because no suitable compiler was "
  44. "available to compile it. We could not use the compiler built in that section "
  45. "because it is a native compiler and should not be used outside of chroot and "
  46. "risks polluting the libraries with some host components."
  47. msgstr ""
  48. "在构建<xref linkend=\"ch-tools-gcc-pass2\"/>时,我们不得不暂缓安装 C++ "
  49. "标准库,因为当时没有编译器能够编译它。我们不能使用那一节构建的编译器,"
  50. "因为它是一个本地编译器,不应在 chroot 外使用,否则可能导致编译产生的库"
  51. "被宿主系统组件污染。"
  52. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  53. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:34
  54. msgid "&buildtime;"
  55. msgstr "&buildtime;"
  56. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  57. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:35
  58. msgid "&diskspace;"
  59. msgstr "&diskspace;"
  60. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  61. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:38
  62. msgid "&libstdcpp-tmpp2-sbu;"
  63. msgstr "&libstdcpp-tmpp2-sbu;"
  64. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  65. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:39
  66. msgid "&libstdcpp-tmpp2-du;"
  67. msgstr "&libstdcpp-tmpp2-du;"
  68. #. type: Content of: <sect1><sect2><title>
  69. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:46
  70. msgid "Installation of Target Libstdc++"
  71. msgstr "安装目标系统的 Libstdc++"
  72. #. type: Content of: <sect1><sect2><note><para>
  73. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:49
  74. msgid ""
  75. "<application>Libstdc++</application> is part of the GCC sources. You should "
  76. "first unpack the GCC tarball and change to the "
  77. "<filename>gcc-&gcc-version;</filename> directory."
  78. msgstr ""
  79. "<application>Libstdc++</application> 是 GCC 源代码的一部分。"
  80. "您应该先解压 GCC 压缩包并切换到解压出来的 "
  81. "<filename>gcc-&gcc-version;</filename> 目录。"
  82. #. type: Content of: <sect1><sect2><para>
  83. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:54
  84. msgid "Create a link which exists when building libstdc++ in the gcc tree:"
  85. msgstr "创建一个符号链接,允许在 GCC 源码树中构建 Libstdc++:"
  86. #. type: Content of: <sect1><sect2><screen>
  87. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:56
  88. #, no-wrap
  89. msgid ""
  90. "<userinput remap=\"pre\">ln -s gthr-posix.h "
  91. "libgcc/gthr-default.h</userinput>"
  92. msgstr ""
  93. "<userinput remap=\"pre\">ln -s gthr-posix.h "
  94. "libgcc/gthr-default.h</userinput>"
  95. #. type: Content of: <sect1><sect2><para>
  96. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:58
  97. msgid "Create a separate build directory for libstdc++ and enter it:"
  98. msgstr "为 Libstdc++ 创建一个单独的构建目录,并切换到该目录:"
  99. #. type: Content of: <sect1><sect2><screen>
  100. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:60
  101. #, no-wrap
  102. msgid ""
  103. "<userinput remap=\"pre\">mkdir -v build\n"
  104. "cd build</userinput>"
  105. msgstr ""
  106. "<userinput remap=\"pre\">mkdir -v build\n"
  107. "cd build</userinput>"
  108. #. type: Content of: <sect1><sect2><para>
  109. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:63
  110. msgid "Prepare libstdc++ for compilation:"
  111. msgstr "准备编译 Libstdc++:"
  112. #. type: Content of: <sect1><sect2><screen>
  113. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:65
  114. #, no-wrap
  115. msgid ""
  116. "<userinput remap=\"configure\">../libstdc++-v3/configure \\\n"
  117. " CXXFLAGS=\"-g -O2 -D_GNU_SOURCE\" \\\n"
  118. " --prefix=/usr \\\n"
  119. " --disable-multilib \\\n"
  120. " --disable-nls \\\n"
  121. " --disable-libstdcxx-pch</userinput>"
  122. msgstr ""
  123. "<userinput remap=\"configure\">../libstdc++-v3/configure \\\n"
  124. " CXXFLAGS=\"-g -O2 -D_GNU_SOURCE\" \\\n"
  125. " --prefix=/usr \\\n"
  126. " --disable-multilib \\\n"
  127. " --disable-nls \\\n"
  128. " --disable-libstdcxx-pch</userinput>"
  129. #. type: Content of: <sect1><sect2><variablelist><title>
  130. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:73
  131. msgid "The meaning of the configure options:"
  132. msgstr "配置选项的含义:"
  133. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  134. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:76
  135. msgid "<parameter>CXXFLAGS=\"-g -O2 -D_GNU_SOURCE\"</parameter>"
  136. msgstr "<parameter>CXXFLAGS=\"-g -O2 -D_GNU_SOURCE\"</parameter>"
  137. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  138. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:78
  139. msgid ""
  140. "These flags are passed by the top level Makefile when doing a full build of "
  141. "GCC."
  142. msgstr ""
  143. "这些编译开关在构建完整的 GCC 时,由顶层目录 Makefile 传递。"
  144. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  145. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:84
  146. msgid "<parameter>--disable-libstdcxx-pch</parameter>"
  147. msgstr "<parameter>--disable-libstdcxx-pch</parameter>"
  148. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  149. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:86
  150. msgid ""
  151. "This switch prevents the installation of precompiled include files, which "
  152. "are not needed at this stage."
  153. msgstr ""
  154. "这个开关防止安装预编译包含文件,它在当前阶段没有必要。"
  155. #. type: Content of: <sect1><sect2><para>
  156. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:93
  157. msgid "Compile libstdc++ by running:"
  158. msgstr "运行以下命令编译 Libstdc++:"
  159. #. type: Content of: <sect1><sect2><screen>
  160. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:95
  161. #, no-wrap
  162. msgid "<userinput remap=\"make\">make</userinput>"
  163. msgstr "<userinput remap=\"make\">make</userinput>"
  164. #. type: Content of: <sect1><sect2><para>
  165. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:97
  166. msgid "Install the library:"
  167. msgstr "安装这个库:"
  168. #. type: Content of: <sect1><sect2><screen>
  169. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:99
  170. #, no-wrap
  171. msgid "<userinput remap=\"install\">make install</userinput>"
  172. msgstr "<userinput remap=\"install\">make install</userinput>"
  173. #. type: Content of: <sect1><sect2><para>
  174. #: /home/xry111/svn-repos/LFS-BOOK/chapter07/libstdc++-pass2.xml:106
  175. msgid ""
  176. "Details on this package are located in <xref linkend=\"contents-gcc\" "
  177. "role=\".\"/>"
  178. msgstr ""
  179. "该软件包的详细信息可以在<xref linkend=\"contents-gcc\"/>中找到。"