Changeset d9f0c46
- Timestamp:
- 06/15/2004 05:40:23 PM (20 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, 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:
- 31bee15
- Parents:
- 0bc8e6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/adjusting.xml
r0bc8e6e rd9f0c46 10 10 <para>Now that the temporary C libraries have been installed, all 11 11 the tools compiled in the rest of this chapter should be linked against these 12 libraries. In order to accomplish this the linker,and the compiler's12 libraries. In order to accomplish this, the linker and the compiler's 13 13 specs file, need to be adjsted.</para> 14 14 … … 16 16 below this line</quote></emphasis>, but it is really very simple.</para> 17 17 18 <para>First the adjusted linker is installed (adjusted at the end of the first pass19 of Binutils),by running the following command from within18 <para>First, the linker, adjusted at the end of the first pass of Binutils, is 19 installed by running the following command from within 20 20 the <filename class="directory">binutils-build</filename> directory:</para> 21 21 … … 46 46 unset SPECFILE</userinput></screen> 47 47 48 <para>It is recommended that the above command be cut-and-pasted in order to ensure correctness - Alternatively the specs file can be edited by hand. This is done simply by replacing every occurrence of <quote>/lib/ld-linux.so.2</quote> with <quote>/tools/lib/ld-linux.so.2</quote>.</para> 48 <para>It is recommended that the above command be cut-and-pasted in order to 49 ensure correctness - Alternatively, the specs file can be edited by hand. This 50 is done simply by replacing every occurrence of 51 <quote>/lib/ld-linux.so.2</quote> with <quote>/tools/lib/ld-linux.so.2</quote>. 52 </para> 49 53 50 54 <para> Be sure to visually inspect the specs file in order to verify the intended changes have been made.</para> … … 67 71 <caution><para>It is imperative at this point to stop and ensure that the basic 68 72 functions (compiling and linking) of the new toolchain are working as expected. 69 To perform a simple sanity check run the following commands:</para>73 To perform a simple sanity check, run the following commands:</para> 70 74 71 75 <screen><userinput>echo 'main(){}' > dummy.c … … 86 90 problem is and correct it. There is no point in continuing until this is done. 87 91 First, perform the sanity check again, using <command>gcc</command> instead of 88 <command>cc</command>. If this works then the92 <command>cc</command>. If this works, then the 89 93 <filename class="symlink">/tools/bin/cc</filename> symlink is missing. Revisit 90 94 <xref linkend="ch-tools-gcc-pass1"/> and install the symlink. Second, ensure your PATH
Note:
See TracChangeset
for help on using the changeset viewer.