Ignore:
Timestamp:
07/18/2005 08:01:01 PM (19 years ago)
Author:
Matthew Burgess <matthew@…>
Children:
4356d95
Parents:
cf9080d
Message:

Remove all headers fixed by fixincludes

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/adjusting.xml

    rcf9080d rb89a9df  
    6161necessary.</para></important>
    6262
    63 <para>There is a possibility that some include files from the host system have
     63<para>There is a possibility that some header files from the host system have
    6464found their way into GCC's private include dir. This can happen as a result of
    6565GCC's <quote>fixincludes</quote> process, which runs as part of the GCC build.
    66 This is explained in more detail later in this chapter. Run the following
    67 command to eliminate this possibility:</para>
     66This is explained in more detail later in this chapter. Run the following commands to remove those header files (you may find it easier to copy and paste these commands, rather than typing them by hand, due to their length):</para>
    6867
    69 <screen><userinput>rm -f /tools/lib/gcc/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen>
     68<!-- && used to ease copy and pasting -->
     69<screen><userinput>GCC_INCLUDEDIR=`gcc -print-search-dirs | head -n 1 | awk '{ print $2 "include" }'` &amp;&amp;
     70find ${GCC_INCLUDEDIR} -xtype d -exec rm -rf \{} \; &amp;&amp;
     71rm -f `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*`;</userinput></screen>
    7072
    7173<caution><para>At this point, it is imperative to stop and ensure that
Note: See TracChangeset for help on using the changeset viewer.