Changeset a5b2aa9


Ignore:
Timestamp:
05/10/2003 11:29:43 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, 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/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
84a7dc2
Parents:
b2d4656
Message:

add tooldir=/stage1 to binutils install and fix bug in ch6-adjustingtoolchain

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

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rb2d4656 ra5b2aa9  
    6363</itemizedlist>
    6464</para></listitem>
     65
     66<listitem><para>May 10th, 2003 [gerard]: Chapter 05 - Binutils (pass1,
     67pass2, locking glibc and adjusting toolchain): Change tooldir to /stage1
     68(likewise we use tooldir=/usr in chapter 6).</para></listitem>
     69
     70<listitem><para>May 10th, 2003 [gerard]: Chaper 05 - Kernel headers:
     71Removed the usage of <userinput>cp -H</userinput> because there are
     72distributions out there that do not know about the
     73<userinput>-H</userinput> option.</para></listitem>
    6574
    6675<listitem><para>May 10th, 2003 [gerard]: New
  • chapter05/binutils-pass1-inst.xml

    rb2d4656 ra5b2aa9  
    3333<para>Continue with compiling the package:</para>
    3434
    35 <para><screen><userinput>make LDFLAGS="-all-static -s"</userinput></screen></para>
     35<para><screen><userinput>make tooldir=/stage1 LDFLAGS="-all-static -s"</userinput></screen></para>
    3636
    3737<para>The meaning of the make option is:</para>
     
    4949<para>And finish off installing the package:</para>
    5050
    51 <para><screen><userinput>make install</userinput></screen></para>
     51<para><screen><userinput>make tooldir=/stage1 install</userinput></screen></para>
    5252
    5353<para><screen><userinput>make -C ld clean
    54 make -C ld LIB_PATH=/stage1/lib</userinput></screen></para>
     54make -C ld tooldir=/stage1 LIB_PATH=/stage1/lib</userinput></screen></para>
    5555
    5656<para>Do not remove the binutils-* directories. We need them again
  • chapter05/binutils-pass2-inst.xml

    rb2d4656 ra5b2aa9  
    99CFLAGS="-O2 -pipe" ../binutils-&binutils-version;/configure --prefix=/stage1 \
    1010&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --with-lib-path=/stage1/lib
    11 make LDFLAGS="-s"
    12 make check
    13 make install</userinput></screen></para>
     11make tooldir=/stage1 LDFLAGS="-s"
     12make tooldir=/stage1 check
     13make tooldir=/stage1 install</userinput></screen></para>
    1414
    15 <para><screen><userinput>cd ld
    16 make clean
    17 make LIB_PATH=/usr/lib:/lib</userinput></screen></para>
     15<para><screen><userinput>make -C ld clean
     16make -C ld tooldir=/stage1 LIB_PATH=/usr/lib:/lib</userinput></screen></para>
    1817
    1918<para>Do not remove the binutils-* directories after the installation.
  • chapter05/kernelheaders-inst.xml

    rb2d4656 ra5b2aa9  
    4444<para>Install the platform specific-header files:</para>
    4545
    46 <para><screen><userinput>cp -HR include/asm /stage1/include &amp;&amp;
     46<para><screen><userinput>mkdir /stage1/include/asm &amp;&amp;
     47cp include/asm/* /stage1/include/asm &amp;&amp;
    4748cp -R include/asm-generic /stage1/include</userinput></screen></para>
    4849
  • chapter05/lockingglibc.xml

    rb2d4656 ra5b2aa9  
    88<title>Installation of Binutils</title>
    99
    10 <para><screen><userinput>make -C ld install-data-local</userinput></screen></para>
     10<para><screen><userinput>make -C ld tooldir=/stage1 install-data-local</userinput></screen></para>
    1111
    1212<para>You can remove the binutils-* directories now.</para>
  • chapter06/adjustingtoolchain.xml

    rb2d4656 ra5b2aa9  
    44
    55<para><screen><userinput>cd binutils-build
    6 make -C ld INSTALL=/stage1/bin/install install-data-local
    7 SPECFILE=/stage1/lib/gcc-lib/*/*/specs
    8 sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1@g' \
    9 &nbsp;&nbsp;&nbsp;&nbsp;-e
    10 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \
    11 &nbsp;&nbsp;&nbsp;&nbsp;$SPECFILE > XX
     6make -C ld tooldir=/stage1 INSTALL=/stage1/bin/install install-data-local
     7
     8SPECFILE=/stage1/lib/gcc-lib/*/*/specs &&
     9sed -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1@g' \
     10&nbsp;&nbsp;&nbsp;&nbsp;-e 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' $SPECFILE > XX
    1211mv XX $SPECFILE
    1312unset SPECFILE</userinput></screen></para>
Note: See TracChangeset for help on using the changeset viewer.