|
@@ -1,82 +1,82 @@
|
|
-# SOME DESCRIPTIVE TITLE
|
|
|
|
-# Copyright (C) YEAR Free Software Foundation, Inc.
|
|
|
|
-# This file is distributed under the same license as the PACKAGE package.
|
|
|
|
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
|
|
-#
|
|
|
|
-#, fuzzy
|
|
|
|
msgid ""
|
|
msgid ""
|
|
msgstr ""
|
|
msgstr ""
|
|
"Project-Id-Version: PACKAGE VERSION\n"
|
|
"Project-Id-Version: PACKAGE VERSION\n"
|
|
|
|
+"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2020-06-17 12:44+0800\n"
|
|
"POT-Creation-Date: 2020-06-17 12:44+0800\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
-"Language: \n"
|
|
|
|
|
|
+"Language: zh_CN\n"
|
|
"MIME-Version: 1.0\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
+"X-Generator: Translate Toolkit 2.2.5\n"
|
|
|
|
+"X-Pootle-Path: /zh_CN/lfs/chapter05/gcc-pass2.po\n"
|
|
|
|
+"X-Pootle-Revision: 1671906\n"
|
|
|
|
|
|
#. type: Content of: <sect1><sect1info><address>
|
|
#. type: Content of: <sect1><sect1info><address>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:14
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:14
|
|
#, no-wrap
|
|
#, no-wrap
|
|
msgid "&gcc-url;"
|
|
msgid "&gcc-url;"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "&gcc-url;"
|
|
|
|
|
|
#. type: Content of: <sect1><sect1info>
|
|
#. type: Content of: <sect1><sect1info>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:12
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:12
|
|
msgid ""
|
|
msgid ""
|
|
-"<productname>gcc-pass2</productname> "
|
|
|
|
-"<productnumber>&gcc-version;</productnumber> <placeholder type=\"address\" "
|
|
|
|
-"id=\"0\"/>"
|
|
|
|
|
|
+"<productname>gcc-pass2</productname> <productnumber>&gcc-version;</"
|
|
|
|
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"<productname>gcc-pass2</productname> <productnumber>&gcc-version;</"
|
|
|
|
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
|
|
|
|
|
|
#. type: Content of: <sect1><title>
|
|
#. type: Content of: <sect1><title>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:17
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:17
|
|
msgid "GCC-&gcc-version; - Pass 2"
|
|
msgid "GCC-&gcc-version; - Pass 2"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "GCC-&gcc-version; - 第二遍"
|
|
|
|
|
|
#. type: Content of: <sect1><indexterm><primary>
|
|
#. type: Content of: <sect1><indexterm><primary>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:20
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:20
|
|
msgid "GCC"
|
|
msgid "GCC"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "GCC"
|
|
|
|
|
|
#. type: Content of: <sect1><indexterm><secondary>
|
|
#. type: Content of: <sect1><indexterm><secondary>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:21
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:21
|
|
msgid "tools, pass 2"
|
|
msgid "tools, pass 2"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "tools, pass 2"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><segmentedlist><segtitle>
|
|
#. type: Content of: <sect1><sect2><segmentedlist><segtitle>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:32
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:32
|
|
msgid "&buildtime;"
|
|
msgid "&buildtime;"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "&buildtime;"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><segmentedlist><segtitle>
|
|
#. type: Content of: <sect1><sect2><segmentedlist><segtitle>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:33
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:33
|
|
msgid "&diskspace;"
|
|
msgid "&diskspace;"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "&diskspace;"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
|
|
#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:36
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:36
|
|
msgid "&gcc-tmpp2-sbu;"
|
|
msgid "&gcc-tmpp2-sbu;"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "&gcc-tmpp2-sbu;"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
|
|
#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:37
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:37
|
|
msgid "&gcc-tmpp2-du;"
|
|
msgid "&gcc-tmpp2-du;"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "&gcc-tmpp2-du;"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><title>
|
|
#. type: Content of: <sect1><sect2><title>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:44
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:44
|
|
msgid "Installation of GCC"
|
|
msgid "Installation of GCC"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "安装 GCC"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:46
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:46
|
|
msgid ""
|
|
msgid ""
|
|
-"As in the first build of GCC, the GMP, MPFR, and MPC packages are "
|
|
|
|
-"required. Unpack the tarballs and move them into the required directory "
|
|
|
|
-"names:"
|
|
|
|
|
|
+"As in the first build of GCC, the GMP, MPFR, and MPC packages are required. "
|
|
|
|
+"Unpack the tarballs and move them into the required directory names:"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"就像第一次构建 GCC 时一样,它需要 GMP、MPFR 和 MPC 三个包。解压它们的源码"
|
|
|
|
+"包,并将它们移动到 GCC 要求的目录名:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:50
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:50
|
|
@@ -89,6 +89,12 @@ msgid ""
|
|
"tar -xf ../mpc-&mpc-version;.tar.gz\n"
|
|
"tar -xf ../mpc-&mpc-version;.tar.gz\n"
|
|
"mv -v mpc-&mpc-version; mpc</userinput>"
|
|
"mv -v mpc-&mpc-version; mpc</userinput>"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"<userinput remap=\"pre\">tar -xf ../mpfr-&mpfr-version;.tar.xz\n"
|
|
|
|
+"mv -v mpfr-&mpfr-version; mpfr\n"
|
|
|
|
+"tar -xf ../gmp-&gmp-version;.tar.xz\n"
|
|
|
|
+"mv -v gmp-&gmp-version; gmp\n"
|
|
|
|
+"tar -xf ../mpc-&mpc-version;.tar.gz\n"
|
|
|
|
+"mv -v mpc-&mpc-version; mpc</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:57
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:57
|
|
@@ -96,6 +102,7 @@ msgid ""
|
|
"If building on x86_64, change the default directory name for 64-bit "
|
|
"If building on x86_64, change the default directory name for 64-bit "
|
|
"libraries to <quote>lib</quote>:"
|
|
"libraries to <quote>lib</quote>:"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"如果是在 x86_64 上构建,修改 64 位库文件的默认目录名为 <quote>lib</quote>:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:60
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:60
|
|
@@ -107,22 +114,27 @@ msgid ""
|
|
" ;;\n"
|
|
" ;;\n"
|
|
"esac</userinput>"
|
|
"esac</userinput>"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"<userinput remap=\"pre\">case $(uname -m) in\n"
|
|
|
|
+" x86_64)\n"
|
|
|
|
+" sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64\n"
|
|
|
|
+" ;;\n"
|
|
|
|
+"esac</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:66
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:66
|
|
msgid "Fix an issue with GCC-10.1 when building with a cross compiler:"
|
|
msgid "Fix an issue with GCC-10.1 when building with a cross compiler:"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "修复 GCC-10.1 在使用交叉编译器构建时出现的问题:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:69
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:69
|
|
#, no-wrap
|
|
#, no-wrap
|
|
msgid "<userinput remap=\"pre\">patch -Np1 -i ../&gcc-cross-patch;</userinput>"
|
|
msgid "<userinput remap=\"pre\">patch -Np1 -i ../&gcc-cross-patch;</userinput>"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "<userinput remap=\"pre\">patch -Np1 -i ../&gcc-cross-patch;</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:71
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:71
|
|
msgid "Create a separate build directory again:"
|
|
msgid "Create a separate build directory again:"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "再次创建一个独立的构建目录:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:73
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:73
|
|
@@ -131,39 +143,43 @@ msgid ""
|
|
"<userinput remap=\"pre\">mkdir -v build\n"
|
|
"<userinput remap=\"pre\">mkdir -v build\n"
|
|
"cd build</userinput>"
|
|
"cd build</userinput>"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"<userinput remap=\"pre\">mkdir -v build\n"
|
|
|
|
+"cd build</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:76
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:76
|
|
-msgid "Create a symlink that allows libgcc to be built with posix threads support:"
|
|
|
|
|
|
+msgid ""
|
|
|
|
+"Create a symlink that allows libgcc to be built with posix threads support:"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"创建一个符号链接,以允许 libgcc 在构建时启用 POSIX 线程支持:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:79
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:79
|
|
#, no-wrap
|
|
#, no-wrap
|
|
msgid ""
|
|
msgid ""
|
|
"<userinput remap=\"pre\">mkdir -pv $LFS_TGT/libgcc\n"
|
|
"<userinput remap=\"pre\">mkdir -pv $LFS_TGT/libgcc\n"
|
|
-"ln -s ../../../libgcc/gthr-posix.h "
|
|
|
|
-"$LFS_TGT/libgcc/gthr-default.h</userinput>"
|
|
|
|
|
|
+"ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h</userinput>"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"<userinput remap=\"pre\">mkdir -pv $LFS_TGT/libgcc\n"
|
|
|
|
+"ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:82
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:82
|
|
msgid ""
|
|
msgid ""
|
|
"Before starting to build GCC, remember to unset any environment variables "
|
|
"Before starting to build GCC, remember to unset any environment variables "
|
|
"that override the default optimization flags."
|
|
"that override the default optimization flags."
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "在开始构建 GCC 前,记得清除所有覆盖默认优化开关的环境变量。"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:85
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:85
|
|
msgid "Now prepare GCC for compilation:"
|
|
msgid "Now prepare GCC for compilation:"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "现在准备编译 GCC:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:87
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:87
|
|
#, no-wrap
|
|
#, no-wrap
|
|
msgid ""
|
|
msgid ""
|
|
-"<userinput remap=\"configure\">../configure "
|
|
|
|
-"\\\n"
|
|
|
|
|
|
+"<userinput remap=\"configure\">../configure \\\n"
|
|
" --build=$(../config.guess) \\\n"
|
|
" --build=$(../config.guess) \\\n"
|
|
" --host=$LFS_TGT \\\n"
|
|
" --host=$LFS_TGT \\\n"
|
|
" --prefix=/usr \\\n"
|
|
" --prefix=/usr \\\n"
|
|
@@ -181,16 +197,33 @@ msgid ""
|
|
" --disable-libstdcxx \\\n"
|
|
" --disable-libstdcxx \\\n"
|
|
" --enable-languages=c,c++</userinput>"
|
|
" --enable-languages=c,c++</userinput>"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"<userinput remap=\"configure\">../configure \\\n"
|
|
|
|
+" --build=$(../config.guess) \\\n"
|
|
|
|
+" --host=$LFS_TGT \\\n"
|
|
|
|
+" --prefix=/usr \\\n"
|
|
|
|
+" CC_FOR_TARGET=$LFS_TGT-gcc \\\n"
|
|
|
|
+" --with-build-sysroot=$LFS \\\n"
|
|
|
|
+" --enable-initfini-array \\\n"
|
|
|
|
+" --disable-nls \\\n"
|
|
|
|
+" --disable-multilib \\\n"
|
|
|
|
+" --disable-decimal-float \\\n"
|
|
|
|
+" --disable-libatomic \\\n"
|
|
|
|
+" --disable-libgomp \\\n"
|
|
|
|
+" --disable-libquadmath \\\n"
|
|
|
|
+" --disable-libssp \\\n"
|
|
|
|
+" --disable-libvtv \\\n"
|
|
|
|
+" --disable-libstdcxx \\\n"
|
|
|
|
+" --enable-languages=c,c++</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><variablelist><title>
|
|
#. type: Content of: <sect1><sect2><variablelist><title>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:106
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:106
|
|
msgid "The meaning of the new configure options:"
|
|
msgid "The meaning of the new configure options:"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "配置选项的含义:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
|
|
#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:109
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:109
|
|
msgid "<parameter>-with-build-sysroot=$LFS</parameter>"
|
|
msgid "<parameter>-with-build-sysroot=$LFS</parameter>"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "<parameter>-with-build-sysroot=$LFS</parameter>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
|
|
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:111
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:111
|
|
@@ -202,11 +235,16 @@ msgid ""
|
|
"location. This switch is needed to have them find the needed files in "
|
|
"location. This switch is needed to have them find the needed files in "
|
|
"<filename class=\"directory\">$LFS</filename>, and not on the host."
|
|
"<filename class=\"directory\">$LFS</filename>, and not on the host."
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"通常,使用 <parameter>--host</parameter> 即可保证使用交叉编译器构建 GCC,"
|
|
|
|
+"这个交叉编译器知道它应该在 <filename class=\"directory\">$LFS</filename> "
|
|
|
|
+"中查找头文件和库。但是,GCC 构建系统使用其他一些工具,它们不知道这个位置。"
|
|
|
|
+"因此需要该选项告诉它们在 <filename class=\"directory\">$LFS</filename> "
|
|
|
|
+"中查找需要的文件,而不是在宿主系统中查找。"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
|
|
#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:122
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:122
|
|
msgid "<parameter>--enable-initfini-array</parameter>"
|
|
msgid "<parameter>--enable-initfini-array</parameter>"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "<parameter>--enable-initfini-array</parameter>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
|
|
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:124
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:124
|
|
@@ -215,28 +253,30 @@ msgid ""
|
|
"native compiler on x86. But here, we build with a cross compiler, so we need "
|
|
"native compiler on x86. But here, we build with a cross compiler, so we need "
|
|
"to explicitely set this option."
|
|
"to explicitely set this option."
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"该选项在使用 x86 本地编译器构建另一个本地编译器时自动启用。"
|
|
|
|
+"然而我们使用交叉编译器进行编译,因此必须显式启用它。"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:132
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:132
|
|
msgid "Compile the package:"
|
|
msgid "Compile the package:"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "编译该软件包:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:134
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:134
|
|
#, no-wrap
|
|
#, no-wrap
|
|
msgid "<userinput remap=\"make\">make</userinput>"
|
|
msgid "<userinput remap=\"make\">make</userinput>"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "<userinput remap=\"make\">make</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:136
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:136
|
|
msgid "Install the package:"
|
|
msgid "Install the package:"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "安装该软件包:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:138
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:138
|
|
#, no-wrap
|
|
#, no-wrap
|
|
msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
|
|
msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:140
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:140
|
|
@@ -244,20 +284,24 @@ msgid ""
|
|
"As a finishing touch, create a utility symlink. Many programs and scripts "
|
|
"As a finishing touch, create a utility symlink. Many programs and scripts "
|
|
"run <command>cc</command> instead of <command>gcc</command>, which is used "
|
|
"run <command>cc</command> instead of <command>gcc</command>, which is used "
|
|
"to keep programs generic and therefore usable on all kinds of UNIX systems "
|
|
"to keep programs generic and therefore usable on all kinds of UNIX systems "
|
|
-"where the GNU C compiler is not always installed. Running "
|
|
|
|
-"<command>cc</command> leaves the system administrator free to decide which C "
|
|
|
|
-"compiler to install:"
|
|
|
|
|
|
+"where the GNU C compiler is not always installed. Running <command>cc</"
|
|
|
|
+"command> leaves the system administrator free to decide which C compiler to "
|
|
|
|
+"install:"
|
|
msgstr ""
|
|
msgstr ""
|
|
|
|
+"最后,还需要创建一个符号链接。许多程序和脚本运行 <command>cc</command> 而不"
|
|
|
|
+"是 <command>gcc</command>,因为前者能够保证程序的通用性,使它可以在所有 "
|
|
|
|
+"UNIX 系统上使用,无论是否安装了 GNU C 编译器。运行 <command>cc</command> 可"
|
|
|
|
+"以将安装哪种 C 编译器的选择权留给系统管理员:"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#. type: Content of: <sect1><sect2><screen>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:147
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:147
|
|
#, no-wrap
|
|
#, no-wrap
|
|
msgid "<userinput remap=\"install\">ln -sv gcc $LFS/usr/bin/cc</userinput>"
|
|
msgid "<userinput remap=\"install\">ln -sv gcc $LFS/usr/bin/cc</userinput>"
|
|
-msgstr ""
|
|
|
|
|
|
+msgstr "<userinput remap=\"install\">ln -sv gcc $LFS/usr/bin/cc</userinput>"
|
|
|
|
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#. type: Content of: <sect1><sect2><para>
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:154
|
|
#: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:154
|
|
msgid ""
|
|
msgid ""
|
|
-"Details on this package are located in <xref linkend=\"contents-gcc\" "
|
|
|
|
-"role=\".\"/>"
|
|
|
|
-msgstr ""
|
|
|
|
|
|
+"Details on this package are located in <xref linkend=\"contents-gcc\" role="
|
|
|
|
+"\".\"/>"
|
|
|
|
+msgstr "关于本软件包的更多信息可以在<xref linkend=\"contents-gcc\"/>中找到。"
|