Ignore:
Timestamp:
04/25/2012 07:26:21 PM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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, 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, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
cd3c10c
Parents:
e625c49
Message:

Merge changes developed and tested in the jh branch

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass1.xml

    re625c49 r1a3e6a3  
    7777    <para>Now prepare Binutils for compilation:</para>
    7878
    79 <screen><userinput remap="configure">../binutils-&binutils-version;/configure --target=$LFS_TGT \
    80                            --prefix=/tools   \
    81                            --disable-nls     \
    82                            --disable-werror</userinput></screen>
     79<screen><userinput remap="configure">
     80../binutils-&binutils-version;/configure     \
     81    --prefix=/tools            \
     82    --with-sysroot=$LFS        \
     83    --with-lib-path=/tools/lib \
     84    --target=$LFS_TGT          \
     85    --disable-nls              \
     86    --disable-werror</userinput></screen>
    8387
    8488    <variablelist>
    8589      <title>The meaning of the configure options:</title>
     90
     91      <varlistentry>
     92        <term><parameter>--prefix=/tools</parameter></term>
     93        <listitem>
     94          <para>This tells the configure script to prepare to install the
     95          Binutils programs in the <filename class="directory">/tools</filename>
     96          directory.</para>
     97        </listitem>
     98      </varlistentry>
     99
     100      <varlistentry>
     101        <term><parameter>--with-sysroot=$LFS</parameter></term>
     102        <listitem>
     103          <para>For cross compilation, this tells the build system to look in
     104          $LFS for the target system libraries as needed.</para>
     105        </listitem>
     106      </varlistentry>
     107
     108      <varlistentry>
     109        <term><parameter>--with-lib-path=/tools/lib</parameter></term>
     110        <listitem>
     111          <para>This specifies which library path the linker should be
     112          configured to use.</para>
     113        </listitem>
     114      </varlistentry>
    86115
    87116      <varlistentry>
     
    97126
    98127      <varlistentry>
    99         <term><parameter>--prefix=/tools</parameter></term>
    100         <listitem>
    101           <para>This tells the configure script to prepare to install the
    102           Binutils programs in the <filename class="directory">/tools</filename>
    103           directory.</para>
    104         </listitem>
    105       </varlistentry>
    106 
    107       <varlistentry>
    108128        <term><parameter>--disable-nls</parameter></term>
    109129        <listitem>
     
    112132        </listitem>
    113133      </varlistentry>
    114 
     134       
    115135      <varlistentry>
    116136        <term><parameter>--disable-werror</parameter></term>
Note: See TracChangeset for help on using the changeset viewer.