Changeset cbc99c8 for chapter06/readjusting.xml
- Timestamp:
- 07/01/2005 11:36:35 PM (19 years ago)
- Branches:
- 6.1, 6.1.1
- Children:
- 6169f0c
- Parents:
- 808f5af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/readjusting.xml
r808f5af rcbc99c8 8 8 <?dbhtml filename="readjusting.html"?> 9 9 10 <para>Now that the new and final C libraries have been installed, it 11 is time to adjust the toolchain again. The toolchain will be adjusted 12 so that it will link any newly compiled program against these new 13 libraries. This is the same process used in the 14 <quote>Adjusting</quote> phase in the beginning of <xref 15 linkend="chapter-temporary-tools"/>, even though it looks to be 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 22 <filename class="directory">/{,usr/}lib</filename> directories.</para> 10 <para>Now that the final C libraries have been installed, it is time to adjust 11 the toolchain again. The toolchain will be adjusted so that it will link any 12 newly compiled program against these new libraries. This is the same process 13 used in the <quote>Adjusting</quote> phase in the beginning of <xref 14 linkend="chapter-temporary-tools"/>, but with the adjustments reversed. In <xref 15 linkend="chapter-temporary-tools"/>, the chain was guided from the host's 16 <filename class="directory">/{,usr/}lib</filename> directories to the new 17 <filename class="directory">/tools/lib</filename> directory. Now, the chain will 18 be guided from that same <filename class="directory">/tools/lib</filename> 19 directory to the LFS <filename class="directory">/{,usr/}lib</filename> 20 directories.</para> 23 21 24 <para>Start by adjusting the linker. The source and build directories 25 from the second pass over Binutils were retained for this purpose. 26 Install the adjusted linker by running the following command from 27 within the <filename class="directory">binutils-build</filename> 28 directory:</para> 22 <para>Start by adjusting the linker. The source and build directories from the 23 second pass of Binutils were retained for this purpose. Install the adjusted 24 linker by running the following command from within the <filename 25 class="directory">binutils-build</filename> directory:</para> 29 26 30 27 <screen><userinput>make -C ld INSTALL=/tools/bin/install install</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.