Changeset d30b2ab in clfs-sysroot for BOOK/final-system/common/gcc.xml
- Timestamp:
- Jan 5, 2009, 1:49:16 PM (16 years ago)
- Branches:
- master
- Children:
- fd3ab6f
- Parents:
- a16fa9c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/gcc.xml
ra16fa9c rd30b2ab 46 46 47 47 <para os="e1">GCC provides a <command>gccbug</command> script which detects at 48 compile time whether mktemp is present, and hardcodes the result in a test. 49 If mktemp is not found, the script will fall back to using less 50 random names for temporary files. We will be installing mktemp 51 later, so the following sed will simulate its presence:</para> 48 compile time whether <command>mktemp</command> is present, and hardcodes 49 the result in a test. If <command>mktemp</command> is not found, the 50 script will fall back to using less random names for temporary files. 51 <command>mktemp</command> will be installed as part of Coreutils 52 later, so the following <command>sed</command> will simulate its presence:</para> 52 53 53 54 <screen os="e2"><userinput>cp gcc/gccbug.in{,.orig} 54 55 sed 's/@have_mktemp_command@/yes/' gcc/gccbug.in.orig > gcc/gccbug.in</userinput></screen> 55 56 56 <para os="s1">The fixincludes attempts to "fix" the system headers57 installed so far. Since gcc is cross-compiled expecting the system58 headers to be in <filename class="directory">/usr/include</filename>59 the script will be looking at host headers. The following sed prevents60 the fixincludes scriptfrom running:</para>57 <para os="s1">The <command>fixincludes</command> script attempts to "fix" 58 the system headers installed so far. Since GCC is cross-compiled expecting 59 the system headers to be in <filename class="directory">/usr/include</filename>, 60 the script will be looking at the host system's headers. The following sed 61 prevents <command>fixincludes</command> from running:</para> 61 62 62 63 <screen os="s2"><userinput>cp gcc/Makefile.in{,.orig}
Note:
See TracChangeset
for help on using the changeset viewer.