Changeset d30b2ab in clfs-sysroot for BOOK/final-system/common/gcc.xml


Ignore:
Timestamp:
Jan 5, 2009, 1:49:16 PM (16 years ago)
Author:
Chris Staub <chris@…>
Branches:
master
Children:
fd3ab6f
Parents:
a16fa9c
Message:

Text updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/gcc.xml

    ra16fa9c rd30b2ab  
    4646
    4747    <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>
    5253
    5354<screen os="e2"><userinput>cp gcc/gccbug.in{,.orig}
    5455sed 's/@have_mktemp_command@/yes/' gcc/gccbug.in.orig > gcc/gccbug.in</userinput></screen>
    5556
    56     <para os="s1">The fixincludes attempts to "fix" the system headers
    57     installed so far. Since gcc is cross-compiled expecting the system
    58     headers to be in <filename class="directory">/usr/include</filename>
    59     the script will be looking at host headers. The following sed prevents
    60     the fixincludes script from 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>
    6162
    6263<screen os="s2"><userinput>cp gcc/Makefile.in{,.orig}
Note: See TracChangeset for help on using the changeset viewer.