Changeset 8405

Show
Ignore:
Timestamp:
10/06/07 20:09:45 (1 year ago)
Author:
jhuntwork
Message:

Made book buildable by powerpc.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/jh/BOOK/chapter01/changelog.xml

    r8404 r8405  
    4141      <itemizedlist> 
    4242        <listitem> 
     43          <para>[jhuntwork] - Made book buildable by powerpc.</para> 
     44        </listitem> 
     45        <listitem> 
    4346          <para>[jhuntwork] - Moved GCC's bootstrap to pass 2.</para> 
    4447        </listitem> 
  • branches/jh/BOOK/chapter05/gcc-pass2.xml

    r8404 r8405  
    9090    against the new Glibc. Issue:</para> 
    9191 
    92 <screen><userinput remap="pre">for file in $(find gcc/config -name linux64.h -o -name linux.h) 
     92<screen><userinput remap="pre">for file in \ 
     93 $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h) 
    9394do 
    9495  cp -uv $file{,.orig} 
     
    103104    <para>In case the above seems hard to follow, let's break it down a bit. 
    104105    First we find all the files under the gcc/config directory that are named 
    105     either <filename>linux.h</filename> or <filename>linux64.h</filename>. 
     106    either <filename>linux.h</filename>, <filename>linux64.h</filename> or 
     107    <filename>sysv4.h</filename>. 
    106108    For each file found, we copy it to a file of the same name but with an added 
    107109    suffix of <quote>.orig</quote>. Then the first sed expression prepends 
  • branches/jh/BOOK/chapter06/coreutils.xml

    r8392 r8405  
    5353    fixes this behavior for Intel architectures:</para> 
    5454 
    55 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen> 
     55<screen><userinput remap="pre">case `uname -m` in 
     56 i?86 | x86_64) patch -Np1 -i ../&coreutils-uname-patch; ;; 
     57esac</userinput></screen> 
    5658 
    5759    <para>Prevent Coreutils from installing binaries that will be installed by