| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 | # 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.##, fuzzymsgid ""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 <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: \n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"#. type: Content of: <sect1><sect1info><address>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:14#, no-wrapmsgid "&binutils-url;"msgstr ""#. type: Content of: <sect1><sect1info>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:12msgid """<productname>binutils-pass1</productname> ""<productnumber>&binutils-version;</productnumber> <placeholder ""type=\"address\" id=\"0\"/>"msgstr ""#. type: Content of: <sect1><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:17msgid "Binutils-&binutils-version; - Pass 1"msgstr ""#. type: Content of: <sect1><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:20msgid "Binutils"msgstr ""#. type: Content of: <sect1><indexterm><secondary>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:21msgid "tools, pass 1"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:32msgid "&buildtime;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:33msgid "&diskspace;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:36msgid "&binutils-tmpp1-sbu;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:37msgid "&binutils-tmpp1-du;"msgstr ""#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:44msgid "Installation of Cross Binutils"msgstr ""#. type: Content of: <sect1><sect2><note><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:46msgid """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:50msgid """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:55msgid """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-wrapmsgid """<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:62msgid """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:70msgid "Now prepare Binutils for compilation:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:72#, no-wrapmsgid """<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:79msgid "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:82msgid "<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:84msgid """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:91msgid "<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:93msgid """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:99msgid "<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:101msgid """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:110msgid "<parameter>--disable-nls</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:112msgid """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:118msgid "<parameter>--disable-werror</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:120msgid """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:127msgid "Continue with compiling the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:129#, no-wrapmsgid "<userinput remap=\"make\">make</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:131msgid "Install the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:133#, no-wrapmsgid "<userinput remap=\"install\">make install</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter05/binutils-pass1.xml:140msgid """Details on this package are located in <xref linkend=\"contents-binutils\" ""role=\".\"/>"msgstr ""
 |