Ignore:
Timestamp:
05/03/2020 09:02:51 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
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, 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:
a715dec
Parents:
9d719e2
Message:

Make the new book

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass1.xml

    r9d719e2 refcb393  
    6767      &amp;&amp; make install; }</userinput>.</para>
    6868    </note>
    69 
     69<!--
    7070    <note><para>The approximate build SBU values and required disk space
    7171    in Chapter&nbsp;5 does not include test suite data.</para></note>
    72 
     72-->
    7373    <para>Now prepare Binutils for compilation:</para>
    7474
    75 <screen><userinput remap="configure">../configure --prefix=/tools            \
     75<screen><userinput remap="configure">../configure --prefix=$LFS/tools       \
    7676             --with-sysroot=$LFS        \
    77              --with-lib-path=/tools/lib \
    7877             --target=$LFS_TGT          \
    7978             --disable-nls              \
     
    8483
    8584      <varlistentry>
    86         <term><parameter>--prefix=/tools</parameter></term>
     85        <term><parameter>--prefix=$LFS/tools</parameter></term>
    8786        <listitem>
    8887          <para>This tells the configure script to prepare to install the
    89           Binutils programs in the <filename class="directory">/tools</filename>
    90           directory.</para>
     88          Binutils programs in the <filename
     89          class="directory">$LFS/tools</filename> directory.</para>
    9190        </listitem>
    9291      </varlistentry>
     
    9998        </listitem>
    10099      </varlistentry>
    101 
     100 <!--
    102101      <varlistentry>
    103         <term><parameter>--with-lib-path=/tools/lib</parameter></term>
     102        <term><parameter>- -with-lib-path=/tools/lib</parameter></term>
    104103        <listitem>
    105104          <para>This specifies which library path the linker should be
     
    107106        </listitem>
    108107      </varlistentry>
    109 
     108  -->
    110109      <varlistentry>
    111110        <term><envar>--target=$LFS_TGT</envar></term>
     
    141140<screen><userinput remap="make">make</userinput></screen>
    142141
    143     <para>Compilation is now complete. Ordinarily we would now run the
    144     test suite, but at this early stage the test suite framework (Tcl,
    145     Expect, and DejaGNU) is not yet in place. The benefits of running the
    146     tests at this point are minimal since the programs from this
    147     first pass will soon be replaced by those from the second.</para>
    148 
    149     <para>If building on x86_64, create a symlink to ensure the sanity of
    150     the toolchain:</para>
    151 
    152 <screen><userinput remap="install">case $(uname -m) in
    153   x86_64) mkdir -v /tools/lib &amp;&amp; ln -sv lib /tools/lib64 ;;
    154 esac</userinput></screen>
    155 
    156142    <para>Install the package:</para>
    157143
Note: See TracChangeset for help on using the changeset viewer.