# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-06-17 12:44+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Content of:
#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:14 #, no-wrap msgid "&binutils-url;" msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:12 msgid "" "binutils-pass1 " "&binutils-version; " msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:17 msgid "Binutils-&binutils-version; - Pass 1" msgstr "" #. type: Content of: <sect1><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:20 msgid "Binutils" msgstr "" #. type: Content of: <sect1><indexterm><secondary> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:21 msgid "tools, pass 1" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:32 msgid "&buildtime;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:33 msgid "&diskspace;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:36 msgid "&binutils-tmpp1-sbu;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:37 msgid "&binutils-tmpp1-du;" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:44 msgid "Installation of Cross Binutils" msgstr "" #. type: Content of: <sect1><sect2><note><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:46 msgid "" "Go back and re-read the notes in the previous section. Understanding the " "notes labeled important will save you a lot of problems later." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:50 msgid "" "It is important that Binutils be the first package compiled because both " "Glibc and GCC perform various tests on the available linker and assembler to " "determine which of their own features to enable." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:55 msgid "" "The Binutils documentation recommends building Binutils in a dedicated build " "directory:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:58 #, no-wrap msgid "" "<userinput remap=\"pre\">mkdir -v build\n" "cd build</userinput>" msgstr "" #. type: Content of: <sect1><sect2><note><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:62 msgid "" "In order for the SBU values listed in the rest of the book to be of any use, " "measure the time it takes to build this package from the configuration, up " "to and including the first install. To achieve this easily, wrap the " "commands in a <command>time</command> command like this: <userinput>time { " "./configure ... && make && make install; }</userinput>." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:70 msgid "Now prepare Binutils for compilation:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:72 #, no-wrap msgid "" "<userinput remap=\"configure\">../configure --prefix=$LFS/tools \\\n" " --with-sysroot=$LFS \\\n" " --target=$LFS_TGT \\\n" " --disable-nls \\\n" " --disable-werror</userinput>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:79 msgid "The meaning of the configure options:" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:82 msgid "<parameter>--prefix=$LFS/tools</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:84 msgid "" "This tells the configure script to prepare to install the binutils programs " "in the <filename class=\"directory\">$LFS/tools</filename> directory." msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:91 msgid "<parameter>--with-sysroot=$LFS</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:93 msgid "" "For cross compilation, this tells the build system to look in $LFS for the " "target system libraries as needed." msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:99 msgid "<envar>--target=$LFS_TGT</envar>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:101 msgid "" "Because the machine description in the <envar>LFS_TGT</envar> variable is " "slightly different than the value returned by the " "<command>config.guess</command> script, this switch will tell the " "<command>configure</command> script to adjust binutil's build system for " "building a cross linker." msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:110 msgid "<parameter>--disable-nls</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:112 msgid "" "This disables internationalization as i18n is not needed for the temporary " "tools." msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:118 msgid "<parameter>--disable-werror</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:120 msgid "" "This prevents the build from stopping in the event that there are warnings " "from the host's compiler." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:127 msgid "Continue with compiling the package:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:129 #, no-wrap msgid "<userinput remap=\"make\">make</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:131 msgid "Install the package:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:133 #, no-wrap msgid "<userinput remap=\"install\">make install</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:140 msgid "" "Details on this package are located in <xref linkend=\"contents-binutils\" " "role=\".\"/>" msgstr ""