- Timestamp:
- Nov 14, 2006, 6:32:29 AM (18 years ago)
- Branches:
- master
- Children:
- f03c1f1
- Parents:
- 5a8a7c0
- Location:
- BOOK
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/binutils.xml
r5a8a7c0 r841271e 36 36 37 37 <screen os="p2"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen> 38 39 <para os="p3">Now since we using uClibc, we need to patch binutils to recognize 40 this fact:</para> 41 42 <screen os="p4"><userinput>patch -Np1 -i ../&binutils-uclibc-patch;</userinput></screen> 38 43 39 44 <para os="b">The Binutils documentation recommends building Binutils outside of the -
BOOK/cross-tools/common/gcc-final.xml
r5a8a7c0 r841271e 41 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 42 href="gcc-static.xml" 43 xpointer="xpointer(//*[@os='ac'])"/> 44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="gcc-static.xml" 47 xpointer="xpointer(//*[@os='ad'])"/> 43 xpointer="xpointer(//*[@os='p5'])"/> 44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="gcc-static.xml" 47 xpointer="xpointer(//*[@os='p6'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="gcc-static.xml" 51 xpointer="xpointer(//*[@os='p7'])"/> 52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="gcc-static.xml" 55 xpointer="xpointer(//*[@os='p8'])"/> 48 56 49 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/common/gcc-static.xml
r5a8a7c0 r841271e 31 31 apply the following patch:</para> 32 32 33 <screen os="p2"><userinput>patch -Np1 -i ../ gcc-4.1.1-posix-1.patch</userinput></screen>33 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen> 34 34 35 <para os="p3">The following patch fixes the searching of multilib dirs for 35 <para os="p3">Now since we using uClibc, we need to patch GCC to recognize 36 this fact:</para> 37 38 <screen os="p4"><userinput>patch -Np1 -i ../&gcc-uclibc-patch;</userinput></screen> 39 40 <para os="p5">The following patch fixes the searching of multilib dirs for 36 41 specs file.The patch standardizes the gcc drivers path iteration functions, 37 42 ensuring multilib directories are searched in the correct order. This fixes 38 43 various issues, most noticably with libtool on multilib systems:</para> 39 44 40 <screen os="p 4"><userinput>patch -Np1 -i ../&gcc-PR20425-patch;</userinput></screen>45 <screen os="p6"><userinput>patch -Np1 -i ../&gcc-PR20425-patch;</userinput></screen> 41 46 42 <para os=" ac">The following patch ensures that <command>gcc</command> does not47 <para os="p7">The following patch ensures that <command>gcc</command> does not 43 48 search the <filename class="directory">/usr</filename> directory for 44 49 <filename class="libraryfile">libgcc_s.so</filename> when 45 50 cross-compiling:</para> 46 51 47 <screen os=" ad"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen>52 <screen os="p8"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen> 48 53 49 54 <para os="c">The GCC documentation recommends building GCC outside of the source -
BOOK/materials/common/patches.xml
r5a8a7c0 r841271e 25 25 url="&patches-root;&binutils-posix-patch;"/></para> 26 26 <para>MD5 sum: <literal>&binutils-posix-patch-md5;</literal></para> 27 </listitem> 28 </varlistentry> 29 30 <varlistentry> 31 <term>Binutils uClibc Patch - <token>&binutils-uclibc-patch-size;</token>:</term> 32 <listitem> 33 <para>Download: <ulink 34 url="&patches-root;&binutils-uclibc-patch;"/></para> 35 <para>MD5 sum: <literal>&binutils-uclibc-patch-md5;</literal></para> 27 36 </listitem> 28 37 </varlistentry> … … 64 73 </varlistentry> 65 74 75 <varlistentry> 76 <term>GCC uClibc Patch - <token>&gcc-uclibc-patch-size;</token>:</term> 77 <listitem> 78 <para>Download: <ulink 79 url="&patches-root;&gcc-uclibc-patch;"/></para> 80 <para>MD5 sum: <literal>&gcc-uclibc-patch-md5;</literal></para> 81 </listitem> 82 </varlistentry> 83 66 84 </variablelist> 67 85 -
BOOK/patches.ent
r5a8a7c0 r841271e 8 8 <!ENTITY binutils-posix-patch-md5 "7e42a8edc0c59246bbc58c428256113c"> 9 9 <!ENTITY binutils-posix-patch-size "4.9 KB"> 10 11 <!ENTITY binutils-uclibc-patch "binutils-&binutils-version;-uclibc-1.patch"> 12 <!ENTITY binutils-uclibc-patch-md5 "02206a199a78b14de01be6a38eb45de4"> 13 <!ENTITY binutils-uclibc-patch-size "12 KB"> 10 14 11 15 <!ENTITY busybox-fixes-patch "busybox-&busybox-version;-fixes-1.patch"> … … 24 28 <!ENTITY gcc-posix-patch-md5 "0d88068740a0e00780891f2cb905b808"> 25 29 <!ENTITY gcc-posix-patch-size "9 KB"> 30 31 <!ENTITY gcc-uclibc-patch "gcc-&gcc-version;-uclibc-1.patch"> 32 <!ENTITY gcc-uclibc-patch-md5 "63a7a8f1990bb333dc5513b9489845d4"> 33 <!ENTITY gcc-uclibc-patch-size "144 KB"> 34
Note:
See TracChangeset
for help on using the changeset viewer.