libstdc++-pass2.po 9.0 KB

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