gcc-pass2.po 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><sect1info><address>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:14
  20. #, no-wrap
  21. msgid "&gcc-url;"
  22. msgstr ""
  23. #. type: Content of: <sect1><sect1info>
  24. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:12
  25. msgid ""
  26. "<productname>gcc-pass2</productname> "
  27. "<productnumber>&gcc-version;</productnumber> <placeholder type=\"address\" "
  28. "id=\"0\"/>"
  29. msgstr ""
  30. #. type: Content of: <sect1><title>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:17
  32. msgid "GCC-&gcc-version; - Pass 2"
  33. msgstr ""
  34. #. type: Content of: <sect1><indexterm><primary>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:20
  36. msgid "GCC"
  37. msgstr ""
  38. #. type: Content of: <sect1><indexterm><secondary>
  39. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:21
  40. msgid "tools, pass 2"
  41. msgstr ""
  42. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  43. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:32
  44. msgid "&buildtime;"
  45. msgstr ""
  46. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  47. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:33
  48. msgid "&diskspace;"
  49. msgstr ""
  50. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  51. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:36
  52. msgid "&gcc-tmpp2-sbu;"
  53. msgstr ""
  54. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  55. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:37
  56. msgid "&gcc-tmpp2-du;"
  57. msgstr ""
  58. #. type: Content of: <sect1><sect2><title>
  59. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:44
  60. msgid "Installation of GCC"
  61. msgstr ""
  62. #. type: Content of: <sect1><sect2><para>
  63. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:46
  64. msgid ""
  65. "As in the first build of GCC, the GMP, MPFR, and MPC packages are "
  66. "required. Unpack the tarballs and move them into the required directory "
  67. "names:"
  68. msgstr ""
  69. #. type: Content of: <sect1><sect2><screen>
  70. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:50
  71. #, no-wrap
  72. msgid ""
  73. "<userinput remap=\"pre\">tar -xf ../mpfr-&mpfr-version;.tar.xz\n"
  74. "mv -v mpfr-&mpfr-version; mpfr\n"
  75. "tar -xf ../gmp-&gmp-version;.tar.xz\n"
  76. "mv -v gmp-&gmp-version; gmp\n"
  77. "tar -xf ../mpc-&mpc-version;.tar.gz\n"
  78. "mv -v mpc-&mpc-version; mpc</userinput>"
  79. msgstr ""
  80. #. type: Content of: <sect1><sect2><para>
  81. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:57
  82. msgid ""
  83. "If building on x86_64, change the default directory name for 64-bit "
  84. "libraries to <quote>lib</quote>:"
  85. msgstr ""
  86. #. type: Content of: <sect1><sect2><screen>
  87. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:60
  88. #, no-wrap
  89. msgid ""
  90. "<userinput remap=\"pre\">case $(uname -m) in\n"
  91. " x86_64)\n"
  92. " sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64\n"
  93. " ;;\n"
  94. "esac</userinput>"
  95. msgstr ""
  96. #. type: Content of: <sect1><sect2><para>
  97. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:66
  98. msgid "Fix an issue with GCC-10.1 when building with a cross compiler:"
  99. msgstr ""
  100. #. type: Content of: <sect1><sect2><screen>
  101. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:69
  102. #, no-wrap
  103. msgid "<userinput remap=\"pre\">patch -Np1 -i ../&gcc-cross-patch;</userinput>"
  104. msgstr ""
  105. #. type: Content of: <sect1><sect2><para>
  106. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:71
  107. msgid "Create a separate build directory again:"
  108. msgstr ""
  109. #. type: Content of: <sect1><sect2><screen>
  110. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:73
  111. #, no-wrap
  112. msgid ""
  113. "<userinput remap=\"pre\">mkdir -v build\n"
  114. "cd build</userinput>"
  115. msgstr ""
  116. #. type: Content of: <sect1><sect2><para>
  117. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:76
  118. msgid "Create a symlink that allows libgcc to be built with posix threads support:"
  119. msgstr ""
  120. #. type: Content of: <sect1><sect2><screen>
  121. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:79
  122. #, no-wrap
  123. msgid ""
  124. "<userinput remap=\"pre\">mkdir -pv $LFS_TGT/libgcc\n"
  125. "ln -s ../../../libgcc/gthr-posix.h "
  126. "$LFS_TGT/libgcc/gthr-default.h</userinput>"
  127. msgstr ""
  128. #. type: Content of: <sect1><sect2><para>
  129. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:82
  130. msgid ""
  131. "Before starting to build GCC, remember to unset any environment variables "
  132. "that override the default optimization flags."
  133. msgstr ""
  134. #. type: Content of: <sect1><sect2><para>
  135. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:85
  136. msgid "Now prepare GCC for compilation:"
  137. msgstr ""
  138. #. type: Content of: <sect1><sect2><screen>
  139. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:87
  140. #, no-wrap
  141. msgid ""
  142. "<userinput remap=\"configure\">../configure "
  143. "\\\n"
  144. " --build=$(../config.guess) \\\n"
  145. " --host=$LFS_TGT \\\n"
  146. " --prefix=/usr \\\n"
  147. " CC_FOR_TARGET=$LFS_TGT-gcc \\\n"
  148. " --with-build-sysroot=$LFS \\\n"
  149. " --enable-initfini-array \\\n"
  150. " --disable-nls \\\n"
  151. " --disable-multilib \\\n"
  152. " --disable-decimal-float \\\n"
  153. " --disable-libatomic \\\n"
  154. " --disable-libgomp \\\n"
  155. " --disable-libquadmath \\\n"
  156. " --disable-libssp \\\n"
  157. " --disable-libvtv \\\n"
  158. " --disable-libstdcxx \\\n"
  159. " --enable-languages=c,c++</userinput>"
  160. msgstr ""
  161. #. type: Content of: <sect1><sect2><variablelist><title>
  162. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:106
  163. msgid "The meaning of the new configure options:"
  164. msgstr ""
  165. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  166. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:109
  167. msgid "<parameter>-with-build-sysroot=$LFS</parameter>"
  168. msgstr ""
  169. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  170. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:111
  171. msgid ""
  172. "Normally, using <parameter>--host</parameter> ensures that a cross-compiler "
  173. "is used for building GCC, and that compiler knows that it has to look for "
  174. "headers and libraries in <filename class=\"directory\">$LFS</filename>. But "
  175. "the build system of GCC uses other tools, which are not aware of this "
  176. "location. This switch is needed to have them find the needed files in "
  177. "<filename class=\"directory\">$LFS</filename>, and not on the host."
  178. msgstr ""
  179. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  180. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:122
  181. msgid "<parameter>--enable-initfini-array</parameter>"
  182. msgstr ""
  183. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  184. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:124
  185. msgid ""
  186. "This option is automatically enabled when building a native compiler with a "
  187. "native compiler on x86. But here, we build with a cross compiler, so we need "
  188. "to explicitely set this option."
  189. msgstr ""
  190. #. type: Content of: <sect1><sect2><para>
  191. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:132
  192. msgid "Compile the package:"
  193. msgstr ""
  194. #. type: Content of: <sect1><sect2><screen>
  195. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:134
  196. #, no-wrap
  197. msgid "<userinput remap=\"make\">make</userinput>"
  198. msgstr ""
  199. #. type: Content of: <sect1><sect2><para>
  200. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:136
  201. msgid "Install the package:"
  202. msgstr ""
  203. #. type: Content of: <sect1><sect2><screen>
  204. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:138
  205. #, no-wrap
  206. msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
  207. msgstr ""
  208. #. type: Content of: <sect1><sect2><para>
  209. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:140
  210. msgid ""
  211. "As a finishing touch, create a utility symlink. Many programs and scripts "
  212. "run <command>cc</command> instead of <command>gcc</command>, which is used "
  213. "to keep programs generic and therefore usable on all kinds of UNIX systems "
  214. "where the GNU C compiler is not always installed. Running "
  215. "<command>cc</command> leaves the system administrator free to decide which C "
  216. "compiler to install:"
  217. msgstr ""
  218. #. type: Content of: <sect1><sect2><screen>
  219. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:147
  220. #, no-wrap
  221. msgid "<userinput remap=\"install\">ln -sv gcc $LFS/usr/bin/cc</userinput>"
  222. msgstr ""
  223. #. type: Content of: <sect1><sect2><para>
  224. #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:154
  225. msgid ""
  226. "Details on this package are located in <xref linkend=\"contents-gcc\" "
  227. "role=\".\"/>"
  228. msgstr ""