Changeset 8152318


Ignore:
Timestamp:
08/30/2005 11:00:51 AM (19 years ago)
Author:
Ken Moffat <ken@…>
Children:
4508e60
Parents:
af41791
Message:

Removed -i from sed commands in gcc-pass2

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    raf41791 r8152318  
    120120</listitem>
    121121
     122<listitem><para>August 30th, 2005 [ken]: Remove <command>sed -i</command>
     123 commands from gcc-pass2.</para></listitem>
     124
    122125<listitem><para>August 23rd, 2005 [matt]: <command>find</command> may fail due
    123126to a race condition when deleting files.  Remove the &amp;&amp; construct in
  • chapter05/gcc-pass2.xml

    raf41791 r8152318  
    7474system.</para>
    7575
    76 <screen><userinput>sed -i 's@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g' \
    77       gcc/Makefile.in</userinput></screen>
     76<screen><userinput>cp gcc/Makefile.in{,.orig} &amp;&amp;
     77sed 's@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g' \
     78      gcc/Makefile.in.orig &gt; gcc/Makefile.in</userinput></screen>
    7879
    7980<para>The bootstrap build performed in <xref linkend="ch-tools-gcc-pass1"/>
     
    8384</para>
    8485
    85 <screen><userinput>sed -i 's/^XCFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in</userinput></screen>
     86<screen><userinput>cp gcc/Makefile.in{,.tmp} &amp;&amp;
     87sed 's/^XCFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in.tmp \
     88        &gt; gcc/Makefile.in</userinput></screen>
    8689
    8790<para>Apply the following patch to change the location of GCC's default dynamic
  • general.ent

    raf41791 r8152318  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!ENTITY version "GCC4-20050823">
    3 <!ENTITY releasedate "August 23, 2005">
     2<!ENTITY version "GCC4-20050830">
     3<!ENTITY releasedate "August 30, 2005">
    44<!ENTITY milestone "6.2">
    55<!ENTITY generic-version "gcc4"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" -->
Note: See TracChangeset for help on using the changeset viewer.