Changeset 8405
- Timestamp:
- 10/06/07 20:09:45 (1 year ago)
- Files:
-
- branches/jh/BOOK/chapter01/changelog.xml (modified) (1 diff)
- branches/jh/BOOK/chapter05/gcc-pass2.xml (modified) (2 diffs)
- branches/jh/BOOK/chapter06/coreutils.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/jh/BOOK/chapter01/changelog.xml
r8404 r8405 41 41 <itemizedlist> 42 42 <listitem> 43 <para>[jhuntwork] - Made book buildable by powerpc.</para> 44 </listitem> 45 <listitem> 43 46 <para>[jhuntwork] - Moved GCC's bootstrap to pass 2.</para> 44 47 </listitem> branches/jh/BOOK/chapter05/gcc-pass2.xml
r8404 r8405 90 90 against the new Glibc. Issue:</para> 91 91 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) 93 94 do 94 95 cp -uv $file{,.orig} … … 103 104 <para>In case the above seems hard to follow, let's break it down a bit. 104 105 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>. 106 108 For each file found, we copy it to a file of the same name but with an added 107 109 suffix of <quote>.orig</quote>. Then the first sed expression prepends branches/jh/BOOK/chapter06/coreutils.xml
r8392 r8405 53 53 fixes this behavior for Intel architectures:</para> 54 54 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; ;; 57 esac</userinput></screen> 56 58 57 59 <para>Prevent Coreutils from installing binaries that will be installed by
