Changeset c01e552 in clfs-embedded


Ignore:
Timestamp:
Oct 15, 2013, 1:00:05 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
113a63a
Parents:
75a0379
git-author:
Andrew Bradford <andrew@…> (10/14/13 13:47:57)
git-committer:
Andrew Bradford <andrew@…> (10/15/13 13:00:05)
Message:

Add musl patches for gcc and binutils

Files:
2 added
11 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/gcc-final.xml

    r75a0379 rc01e552  
    2424  <sect2 role="installation">
    2525    <title>Installation of GCC Cross Compiler</title>
     26
     27    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     28    href="../common/gcc-static.xml"
     29    xpointer="xpointer(//*[@os='aa'])"/>
     30
     31    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     32    href="../common/gcc-static.xml"
     33    xpointer="xpointer(//*[@os='ab'])"/>
    2634
    2735    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/arm/gcc-static.xml

    r75a0379 rc01e552  
    2727  href="../common/gcc-static.xml"
    2828  xpointer="xpointer(//*[@os='a'])"/>
     29
     30  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     31  href="../common/gcc-static.xml"
     32  xpointer="xpointer(//*[@os='aa'])"/>
     33
     34  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35  href="../common/gcc-static.xml"
     36  xpointer="xpointer(//*[@os='ab'])"/>
    2937
    3038  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/common/binutils.xml

    r75a0379 rc01e552  
    3232    enable.</para>
    3333
    34     <para os="ab">Fix a couple of syntax errors that prevent the documentation
    35     from building with some versions of Texinfo:</para>
    36 
    37 <screen os="ac"><userinput>sed -i -e 's/@colophon/@@colophon/' \
    38     -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo</userinput></screen>
     34  <para>In order to work with musl-libc, bintuils needs to be patched:</para>
     35
     36<screen><userinput>patch -Np1 -i ../&binutils-musl-patch;</userinput></screen>
    3937
    4038    <para os="b">The Binutils documentation recommends building Binutils outside of the
  • BOOK/cross-tools/common/gcc-final.xml

    r75a0379 rc01e552  
    2424  <sect2 role="installation">
    2525    <title>Installation of GCC Cross Compiler</title>
     26
     27    <xi:include os="c" xmlns:xi="http://www.w3.org/2003/XInclude"
     28    href="gcc-static.xml"
     29    xpointer="xpointer(//*[@os='ab'])"/>
    2630
    2731    <para os="b">GCC requires the GMP, MPFR, and MPC packages to either be
  • BOOK/cross-tools/common/gcc-static.xml

    r75a0379 rc01e552  
    2929    <title os="a">Installation of Cross GCC Compiler with Static libgcc
    3030    and no Threads</title>
     31
     32  <para os="aa">In order to work with musl-libc, GCC needs to be patched:</para>
     33
     34<screen os="ab"><userinput>patch -Np1 -i ../&gcc-musl-patch;</userinput></screen>
    3135
    3236    <para os="b">GCC requires the GMP, MPFR, and MPC packages to either be
  • BOOK/cross-tools/mips/gcc-final.xml

    r75a0379 rc01e552  
    2424  <sect2 role="installation">
    2525    <title>Installation of GCC Cross Compiler</title>
     26
     27    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     28    href="../common/gcc-static.xml"
     29    xpointer="xpointer(//*[@os='aa'])"/>
     30
     31    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     32    href="../common/gcc-static.xml"
     33    xpointer="xpointer(//*[@os='ab'])"/>
    2634
    2735    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/mips/gcc-static.xml

    r75a0379 rc01e552  
    2727  href="../common/gcc-static.xml"
    2828  xpointer="xpointer(//*[@os='a'])"/>
     29
     30  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     31  href="../common/gcc-static.xml"
     32  xpointer="xpointer(//*[@os='aa'])"/>
     33
     34  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35  href="../common/gcc-static.xml"
     36  xpointer="xpointer(//*[@os='ab'])"/>
    2937
    3038  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/x86/gcc-final.xml

    r75a0379 rc01e552  
    2424  <sect2 role="installation">
    2525    <title>Installation of GCC Cross Compiler</title>
     26
     27    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     28    href="../common/gcc-static.xml"
     29    xpointer="xpointer(//*[@os='aa'])"/>
     30
     31    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     32    href="../common/gcc-static.xml"
     33    xpointer="xpointer(//*[@os='ab'])"/>
    2634
    2735    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/x86/gcc-static.xml

    r75a0379 rc01e552  
    2727  href="../common/gcc-static.xml"
    2828  xpointer="xpointer(//*[@os='a'])"/>
     29
     30  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     31  href="../common/gcc-static.xml"
     32  xpointer="xpointer(//*[@os='aa'])"/>
     33
     34  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35  href="../common/gcc-static.xml"
     36  xpointer="xpointer(//*[@os='ab'])"/>
    2937
    3038  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/materials/common/patches.xml

    r75a0379 rc01e552  
    2020
    2121    <varlistentry>
     22      <term>Binutils musl-libc Patch - <token>&binutils-musl-patch-size;</token>:</term>
     23      <listitem>
     24        <para>Download: <ulink
     25        url="&patches-root;&binutils-musl-patch;"/></para>
     26        <para>MD5 sum: <literal>&binutils-musl-patch-md5;</literal></para>
     27      </listitem>
     28    </varlistentry>
     29
     30    <varlistentry>
    2231      <term>BusyBox Config Patch - <token>&busybox-config-patch-size;</token>:</term>
    2332      <listitem>
     
    2534        url="&patches-root;&busybox-config-patch;"/></para>
    2635        <para>MD5 sum: <literal>&busybox-config-patch-md5;</literal></para>
     36      </listitem>
     37    </varlistentry>
     38
     39    <varlistentry>
     40      <term>GCC musl-libc Patch - <token>&gcc-musl-patch-size;</token>:</term>
     41      <listitem>
     42        <para>Download: <ulink
     43        url="&patches-root;&gcc-musl-patch;"/></para>
     44        <para>MD5 sum: <literal>&gcc-musl-patch-md5;</literal></para>
    2745      </listitem>
    2846    </varlistentry>
  • BOOK/patches.ent

    r75a0379 rc01e552  
    44
    55<!-- Start of Common Patches -->
     6
     7<!ENTITY binutils-musl-patch "binutils-&binutils-version;-musl-1.patch">
     8<!ENTITY binutils-musl-patch-md5 "dde64feb7f4cf821cbd887b53026fd67">
     9<!ENTITY binutils-musl-patch-size "1 KB">
    610
    711<!ENTITY busybox-config-patch "busybox-&busybox-version;-config-1.patch">
     
    1418<!ENTITY busybox-fixes-patch-size "4 KB">
    1519-->
     20
     21<!ENTITY gcc-musl-patch "gcc-&gcc-version;-musl-1.patch">
     22<!ENTITY gcc-musl-patch-md5 "5b43765740ca9865b8afe3cc945a3f5d">
     23<!ENTITY gcc-musl-patch-size "26 KB">
    1624
    1725<!ENTITY iana-etc-update-patch "iana-etc-&iana-etc-version;-update-1.patch">
Note: See TracChangeset for help on using the changeset viewer.