Ignore:
Timestamp:
07/17/2005 03:49:28 AM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
06fbd5b
Parents:
f4b803f
Message:

Removed linkonce and no_fixinclude patches for gcc4. Also removed the command to remove the pthread.h and sigthread.h files.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/gcc4/BOOK@6543 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass2.xml

    rf4b803f rccc95be  
    5959working.</para>
    6060
    61 <para>First correct a known problem and make an essential adjustment:</para>
     61<para>Make an essential adjustment:</para>
    6262
    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>
    6564
    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
    8066linker (typically <filename class="libraryfile">ld-linux.so.2</filename>). It also removes
    8167<filename class="directory">/usr/include</filename> from GCC's include
     
    8672Glibc.</para>
    8773
    88 <important><para>The above patches are critical in ensuring a
     74<important><para>The above patch is critical in ensuring a
    8975successful overall build. Do not forget to apply
    90 them.</para></important>
     76it.</para></important>
    9177
    9278<para>Create a separate build directory again:</para>
Note: See TracChangeset for help on using the changeset viewer.