Changeset ccc95be for chapter05/gcc-pass2.xml
- Timestamp:
- 07/17/2005 03:49:28 AM (19 years ago)
- Children:
- 06fbd5b
- Parents:
- f4b803f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass2.xml
rf4b803f rccc95be 59 59 working.</para> 60 60 61 <para> First correct a known problem and make an essential adjustment:</para>61 <para>Make an essential adjustment:</para> 62 62 63 <screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch; 64 patch -Np1 -i ../&gcc-specs-patch;</userinput></screen> 63 <screen><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen> 65 64 66 <para>The first patch disables the GCC <command>fixincludes</command> 67 script. This was briefly mentioned earlier, but a more in-depth 68 explanation of the fixincludes process is warranted here. Under normal 69 circumstances, the GCC <command>fixincludes</command> script scans the 70 system for header files that need to be fixed. It might find that some 71 Glibc header files on the host system need to be fixed, and will fix 72 them and put them in the GCC private include directory. In <xref 73 linkend="chapter-building-system"/>, after the newer Glibc has been 74 installed, this private include directory will be searched before the 75 system include directory. This may result in GCC finding the fixed 76 headers from the host system, which most likely will not match the 77 Glibc version used for the LFS system.</para> 78 79 <para>The second patch changes GCC's default location of the dynamic 65 <para>The above patch changes GCC's default location of the dynamic 80 66 linker (typically <filename class="libraryfile">ld-linux.so.2</filename>). It also removes 81 67 <filename class="directory">/usr/include</filename> from GCC's include … … 86 72 Glibc.</para> 87 73 88 <important><para>The above patch es arecritical in ensuring a74 <important><para>The above patch is critical in ensuring a 89 75 successful overall build. Do not forget to apply 90 them.</para></important>76 it.</para></important> 91 77 92 78 <para>Create a separate build directory again:</para>
Note:
See TracChangeset
for help on using the changeset viewer.