Ignore:
Timestamp:
06/03/2003 10:25:25 PM (21 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
592cfd6
Parents:
8f999de5
Message:

Applied Alex' "apapting-the-text.patch" patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2639 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass1-inst.xml

    r8f999de5 r66e4325  
    44<title>Installation of Binutils</title>
    55
     6<para>It is important that Binutils be the first package to get compiled,
     7because both Glibc and GCC perform various tests on the available linker and
     8assembler to determine which of their own features to enable.</para>
     9
    610<para>This package is known to behave badly when you have changed its default
    711optimization flags (including the -march and -mcpu options). Therefore, if
    812you have defined any environment variables that override default
    913optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting or
    10 modifying them when building binutils.</para>
     14modifying them when building Binutils.</para>
    1115
    1216<para>It is recommended by the Binutils installation documentation to build
     
    2125&nbsp;&nbsp;&nbsp;&nbsp;--prefix=/stage1 --disable-nls</userinput></screen></para>
    2226
    23 <para>The meaning of the (new) configure switches are:</para>
     27<para>The meaning of the configure switches is:</para>
    2428
    2529<itemizedlist>
    26 <listitem><para><userinput>--disable-nls</userinput>: This option disables
    27 internationalization (also known as i18n). We don't need this for our
    28 static programs and nls often causes problems when you're linking
    29 statically.</para></listitem>
     30<listitem><para><userinput>--prefix=/stage1</userinput>: This tells the
     31configure script to prepare to install the Binutils programs in the
     32<filename>/stage1</filename> directory.</para></listitem>
     33<listitem><para><userinput>--disable-nls</userinput>: This disables
     34internationalization (a word often shortened to i18n). We don't need this
     35for our static programs and <emphasis>nls</emphasis> often causes problems
     36when linking statically.</para></listitem>
    3037</itemizedlist>
    3138
     
    3744
    3845<itemizedlist>
    39 <listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This is
    40 how we tell Binutils that all programs should be statically linked. Setting
    41 the <emphasis>LDFLAGS</emphasis> variable is the common way of specifying we
    42 want a static link to take place, however, its value and the way it is set
    43 is not always the same. You'll see with the remaining packages that there
    44 are different ways of setting up the <emphasis>LDFLAGS</emphasis>
    45 variable.</para></listitem>
     46<listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This tells
     47the linker that all the Binutils programs should be linked
     48statically.</para></listitem>
    4649</itemizedlist>
    4750
    48 <para>And finish off installing the package:</para>
     51<para>And install the package:</para>
    4952
    5053<para><screen><userinput>make install</userinput></screen></para>
     54
     55<para>Now already prepare the linker for the "locking in" of
     56<emphasis>glibc</emphasis> later on:</para>
    5157
    5258<para><screen><userinput>make -C ld clean
    5359make -C ld LIB_PATH=/stage1/lib</userinput></screen></para>
    5460
    55 <para>Do not remove the binutils-* directories. We need them again
    56 later on in this chapter.</para>
     61<para><emphasis>Do not yet remove</emphasis> the binutils-* directories.
     62We will need them again a bit further on in this chapter.</para>
    5763
    5864</sect2>
Note: See TracChangeset for help on using the changeset viewer.