Changeset 841271e in clfs-embedded


Ignore:
Timestamp:
Nov 13, 2006, 10:32:29 PM (17 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
f03c1f1
Parents:
5a8a7c0
Message:

uClibc updates

Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/binutils.xml

    r5a8a7c0 r841271e  
    3636
    3737<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>
    3843
    3944    <para os="b">The Binutils documentation recommends building Binutils outside of the
  • BOOK/cross-tools/common/gcc-final.xml

    r5a8a7c0 r841271e  
    4141    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4242    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'])"/>
    4856
    4957    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/common/gcc-static.xml

    r5a8a7c0 r841271e  
    3131    apply the following patch:</para>
    3232
    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>
    3434
    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
    3641    specs file.The patch standardizes the gcc drivers path iteration functions,
    3742    ensuring multilib directories are searched in the correct order. This fixes
    3843    various issues, most noticably with libtool on multilib systems:</para>
    3944
    40 <screen os="p4"><userinput>patch -Np1 -i ../&gcc-PR20425-patch;</userinput></screen>
     45<screen os="p6"><userinput>patch -Np1 -i ../&gcc-PR20425-patch;</userinput></screen>
    4146
    42     <para os="ac">The following patch ensures that <command>gcc</command> does not
     47    <para os="p7">The following patch ensures that <command>gcc</command> does not
    4348    search the <filename class="directory">/usr</filename> directory for
    4449    <filename class="libraryfile">libgcc_s.so</filename> when
    4550    cross-compiling:</para>
    4651
    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>
    4853
    4954    <para os="c">The GCC documentation recommends building GCC outside of the source
  • BOOK/materials/common/patches.xml

    r5a8a7c0 r841271e  
    2525        url="&patches-root;&binutils-posix-patch;"/></para>
    2626        <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>
    2736      </listitem>
    2837    </varlistentry>
     
    6473    </varlistentry>
    6574
     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
    6684  </variablelist>
    6785
  • BOOK/patches.ent

    r5a8a7c0 r841271e  
    88<!ENTITY binutils-posix-patch-md5 "7e42a8edc0c59246bbc58c428256113c">
    99<!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">
    1014
    1115<!ENTITY busybox-fixes-patch "busybox-&busybox-version;-fixes-1.patch">
     
    2428<!ENTITY gcc-posix-patch-md5 "0d88068740a0e00780891f2cb905b808">
    2529<!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.