Changeset 69993f4 for chapter06/readjusting.xml
- Timestamp:
- 08/29/2004 06:36:34 PM (20 years ago)
- Branches:
- 6.0
- Children:
- 8b320e7
- Parents:
- ec0a37e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/readjusting.xml
rec0a37e6 r69993f4 5 5 ]> 6 6 <sect1 id="ch-system-readjusting"> 7 <title>Re-adjusting the toolchain</title>7 <title>Re-adjusting the Toolchain</title> 8 8 <?dbhtml filename="readjusting.html"?> 9 9 … … 14 14 <quote>Adjusting</quote> phase in the beginning of <xref 15 15 linkend="chapter-temporary-tools"/>, even though it looks to be 16 reversed -- in that chapter, the chain was guided from the host's 17 <filename class="directory">/{,usr/}lib</filename> directories to the 18 new <filename class="directory">/tools/lib</filename> directory. Now, 19 the chain will be guided from that same <filename 20 class="directory">/tools/lib</filename> directory to the LFS's 16 reversed. In <xref linkend="chapter-temporary-tools"/>, the chain was 17 guided from the host's <filename 18 class="directory">/{,usr/}lib</filename> directories to the new 19 <filename class="directory">/tools/lib</filename> directory. Now, the 20 chain will be guided from that same <filename 21 class="directory">/tools/lib</filename> directory to the LFS 21 22 <filename class="directory">/{,usr/}lib</filename> directories.</para> 22 23 … … 49 50 class="symlink">ginstall</filename> symbolic link which takes 50 51 precedence in the <filename>Makefile</filename> file and can cause a 51 problem here. The above command takes care of this issue.</para>52 problem. The above command takes care of this issue.</para> 52 53 53 54 <para>Remove the Binutils source and build directories now.</para> 54 55 55 56 <para>Next, amend the GCC specs file so that it points to the new 56 dynamic linker. A sed to accomplish this just like before:</para>57 dynamic linker. A sed command accomplishes this:</para> 57 58 58 59 <!-- Ampersands are needed to allow cut and paste --> … … 61 62 `gcc --print-file specs`</userinput></screen> 62 63 63 <para>C utting and pasting the above is recommended. It is a good idea64 <para>Copying and pasting the above is recommended. It is a good idea 64 65 to visually inspect the specs file to verify the intended change was 65 66 actually made.</para> … … 75 76 <caution><para>It is imperative at this point to stop and ensure that 76 77 the basic functions (compiling and linking) of the adjusted toolchain 77 are working as expected. To do this, perform a s imple sanity78 are working as expected. To do this, perform a sanity 78 79 check:</para> 79 80 … … 83 84 84 85 <para>If everything is working correctly, there should be no errors, 85 and the output of the last command will be (allowing for platform86 specific differences in dynamic linker name):</para>86 and the output of the last command will be (allowing for 87 platform-specific differences in dynamic linker name):</para> 87 88 88 89 <screen><computeroutput>[Requesting program interpreter: /lib/ld-linux.so.2]</computeroutput></screen> 89 90 90 <para>Note especiallythat <filename class="directory">/lib</filename> is now91 <para>Note that <filename class="directory">/lib</filename> is now 91 92 the prefix of our dynamic linker.</para> 92 93
Note:
See TracChangeset
for help on using the changeset viewer.