Changeset a5b2aa9
- Timestamp:
- 05/10/2003 11:29:43 PM (21 years ago)
- 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
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rb2d4656 ra5b2aa9 63 63 </itemizedlist> 64 64 </para></listitem> 65 66 <listitem><para>May 10th, 2003 [gerard]: Chapter 05 - Binutils (pass1, 67 pass2, 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: 71 Removed the usage of <userinput>cp -H</userinput> because there are 72 distributions out there that do not know about the 73 <userinput>-H</userinput> option.</para></listitem> 65 74 66 75 <listitem><para>May 10th, 2003 [gerard]: New -
chapter05/binutils-pass1-inst.xml
rb2d4656 ra5b2aa9 33 33 <para>Continue with compiling the package:</para> 34 34 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> 36 36 37 37 <para>The meaning of the make option is:</para> … … 49 49 <para>And finish off installing the package:</para> 50 50 51 <para><screen><userinput>make install</userinput></screen></para>51 <para><screen><userinput>make tooldir=/stage1 install</userinput></screen></para> 52 52 53 53 <para><screen><userinput>make -C ld clean 54 make -C ld LIB_PATH=/stage1/lib</userinput></screen></para>54 make -C ld tooldir=/stage1 LIB_PATH=/stage1/lib</userinput></screen></para> 55 55 56 56 <para>Do not remove the binutils-* directories. We need them again -
chapter05/binutils-pass2-inst.xml
rb2d4656 ra5b2aa9 9 9 CFLAGS="-O2 -pipe" ../binutils-&binutils-version;/configure --prefix=/stage1 \ 10 10 --enable-shared --with-lib-path=/stage1/lib 11 make LDFLAGS="-s"12 make check13 make install</userinput></screen></para>11 make tooldir=/stage1 LDFLAGS="-s" 12 make tooldir=/stage1 check 13 make tooldir=/stage1 install</userinput></screen></para> 14 14 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 16 make -C ld tooldir=/stage1 LIB_PATH=/usr/lib:/lib</userinput></screen></para> 18 17 19 18 <para>Do not remove the binutils-* directories after the installation. -
chapter05/kernelheaders-inst.xml
rb2d4656 ra5b2aa9 44 44 <para>Install the platform specific-header files:</para> 45 45 46 <para><screen><userinput>cp -HR include/asm /stage1/include && 46 <para><screen><userinput>mkdir /stage1/include/asm && 47 cp include/asm/* /stage1/include/asm && 47 48 cp -R include/asm-generic /stage1/include</userinput></screen></para> 48 49 -
chapter05/lockingglibc.xml
rb2d4656 ra5b2aa9 8 8 <title>Installation of Binutils</title> 9 9 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> 11 11 12 12 <para>You can remove the binutils-* directories now.</para> -
chapter06/adjustingtoolchain.xml
rb2d4656 ra5b2aa9 4 4 5 5 <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 -e 10 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \ 11 $SPECFILE > XX 6 make -C ld tooldir=/stage1 INSTALL=/stage1/bin/install install-data-local 7 8 SPECFILE=/stage1/lib/gcc-lib/*/*/specs && 9 sed -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1@g' \ 10 -e 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' $SPECFILE > XX 12 11 mv XX $SPECFILE 13 12 unset SPECFILE</userinput></screen></para>
Note:
See TracChangeset
for help on using the changeset viewer.