Changeset b89a9df for chapter05/adjusting.xml
- Timestamp:
- 07/18/2005 08:01:01 PM (19 years ago)
- Children:
- 4356d95
- Parents:
- cf9080d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/adjusting.xml
rcf9080d rb89a9df 61 61 necessary.</para></important> 62 62 63 <para>There is a possibility that some includefiles from the host system have63 <para>There is a possibility that some header files from the host system have 64 64 found their way into GCC's private include dir. This can happen as a result of 65 65 GCC'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> 66 This 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> 68 67 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" }'` && 70 find ${GCC_INCLUDEDIR} -xtype d -exec rm -rf \{} \; && 71 rm -f `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*`;</userinput></screen> 70 72 71 73 <caution><para>At this point, it is imperative to stop and ensure that
Note:
See TracChangeset
for help on using the changeset viewer.