Changeset 0194a60 in clfs-embedded


Ignore:
Timestamp:
Nov 7, 2008, 11:37:37 PM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
f8218f3
Parents:
56d186f
Message:

Updated Binutils to 2.19.
Updated GCC to 4.3.2.
Dropped the uClibc Headers Page.

Files:
1 added
7 deleted
11 edited
1 moved

Legend:

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

    r56d186f r0194a60  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/linux-headers.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/uclibc-headers.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/uclibc.xml"/>
  • BOOK/cross-tools/common/binutils.xml

    r56d186f r0194a60  
    3636
    3737<screen os="p2"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen>
    38 
    39     <para os="p3">The following patch is needed for Binutils to build against
    40     uClibc:</para>
    41 
    42 <screen os="p4"><userinput>patch -Np1 -i ../&binutils-uclibc-patch;</userinput></screen>
    4338
    4439    <para os="b">The Binutils documentation recommends building Binutils outside of the
  • BOOK/cross-tools/common/gcc-final.xml

    r56d186f r0194a60  
    3030    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    34     href="gcc-static.xml"
    35     xpointer="xpointer(//*[@os='p3'])"/>
    36 
    37     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    38     href="gcc-static.xml"
    39     xpointer="xpointer(//*[@os='p4'])"/>
    40 
    41     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    42     href="gcc-static.xml"
    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'])"/>
    4832
    4933    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/common/gcc-static.xml

    r56d186f r0194a60  
    3333<screen os="p2"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
    3434
    35     <para os="p3">The following patch is needed for GCC to build against uClibc:</para>
    36 
    37 <screen os="p4"><userinput>patch -Np1 -i ../&gcc-uclibc-patch;</userinput></screen>
    38 
    39     <para os="p5">The following patch ensures that <command>gcc</command> does not
    40     search the <filename class="directory">/usr</filename> directory for
    41     <filename class="libraryfile">libgcc_s.so</filename> when
    42     cross-compiling:</para>
    43 
    44 <screen os="p6"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen>
    45 
    4635    <para os="c">The GCC documentation recommends building GCC outside of the source
    4736    directory in a dedicated build directory:</para>
     
    5544    --target=${CLFS_TARGET} --disable-multilib \
    5645    --with-sysroot=${CLFS} --disable-nls --disable-shared \
     46    --without-headers --with-newlib --disable-decimal-float \
     47    --disable-libgomp --disable-libmudflap --disable-libssp \
    5748    --disable-threads --enable-languages=c</userinput></screen>
    5849
     
    8879    <para os="ag">Continue with compiling the package:</para>
    8980
    90 <screen os="ah"><userinput>make all-gcc</userinput></screen>
     81<screen os="ah"><userinput>make</userinput></screen>
    9182
    9283    <para os="ai">Install the package:</para>
    9384
    94 <screen os="aj"><userinput>make install-gcc</userinput></screen>
     85<screen os="aj"><userinput>make install</userinput></screen>
    9586
    9687  </sect2>
  • BOOK/cross-tools/mips-chapter.xml

    r56d186f r0194a60  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc-headers.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/>
  • BOOK/cross-tools/wrt-chapter.xml

    r56d186f r0194a60  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc-headers.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/>
  • BOOK/cross-tools/x86-chapter.xml

    r56d186f r0194a60  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-headers.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/uclibc-headers.xml"/>
    2120  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
    2221  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/uclibc.xml"/>
  • BOOK/introduction/common/changelog.xml

    r56d186f r0194a60  
    3838
    3939    <listitem>
     40      <para>November 8, 2008</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Dropped the uClibc Headers Page.</para>
     44        </listitem>
     45        <listitem>
     46          <para>[jciccone] - Updated GCC to 4.3.2.</para>
     47        </listitem>
     48        <listitem>
     49          <para>[jciccone] - Updated Binutils to 2.19.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
    4055      <para>Janurary 9, 2008</para>
    4156      <itemizedlist>
  • BOOK/materials/common/patches.xml

    r56d186f r0194a60  
    2929
    3030    <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>
    36       </listitem>
    37     </varlistentry>
    38 
    39     <varlistentry>
    4031      <term>Busybox Fixes Patch - <token>&busybox-fixes-patch-size;</token>:</term>
    4132      <listitem>
     
    4738
    4839    <varlistentry>
    49       <term>GCC Cross Search Paths Patch - <token>&gcc-cross_search-patch-size;</token>:</term>
    50       <listitem>
    51         <para>Download: <ulink
    52         url="&patches-root;&gcc-cross_search-patch;"/></para>
    53         <para>MD5 sum: <literal>&gcc-cross_search-patch-md5;</literal></para>
    54       </listitem>
    55     </varlistentry>
    56 
    57     <varlistentry>
    5840      <term>GCC Posix Patch - <token>&gcc-posix-patch-size;</token>:</term>
    5941      <listitem>
     
    6143        url="&patches-root;&gcc-posix-patch;"/></para>
    6244        <para>MD5 sum: <literal>&gcc-posix-patch-md5;</literal></para>
    63       </listitem>
    64     </varlistentry>
    65 
    66     <varlistentry>
    67       <term>GCC uClibc Patch - <token>&gcc-uclibc-patch-size;</token>:</term>
    68       <listitem>
    69         <para>Download: <ulink
    70         url="&patches-root;&gcc-uclibc-patch;"/></para>
    71         <para>MD5 sum: <literal>&gcc-uclibc-patch-md5;</literal></para>
    7245      </listitem>
    7346    </varlistentry>
  • BOOK/packages.ent

    r56d186f r0194a60  
    55<!-- Note: For empty *-home entities use " " not "" -->
    66
    7 <!ENTITY binutils-version "2.17">
    8 <!ENTITY binutils-size "13,496 KB">
     7<!ENTITY binutils-version "2.19">
     8<!ENTITY binutils-size "15,860 KB">
    99<!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2">
    10 <!ENTITY binutils-md5 "e26e2e06b6e4bf3acf1dc8688a94c0d1">
     10<!ENTITY binutils-md5 "17a52219dee5a76c1a9d9b0bfd337d66">
    1111<!ENTITY binutils-home "http://sources.redhat.com/binutils/">
    1212
     
    2929<!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net">
    3030
    31 <!ENTITY gcc-version "4.1.2">
    32 <!ENTITY gcc-size "38,931 KB">
     31<!ENTITY gcc-version "4.3.2">
     32<!ENTITY gcc-size "57,616 KB">
    3333<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
    34 <!ENTITY gcc-md5 "a4a3eb15c96030906d8494959eeda23c">
     34<!ENTITY gcc-md5 "5dfac5da961ecd5f227c3175859a486d">
    3535<!ENTITY gcc-home "http://gcc.gnu.org">
    3636
  • BOOK/patches.ent

    r56d186f r0194a60  
    66
    77<!ENTITY binutils-posix-patch "binutils-&binutils-version;-posix-1.patch">
    8 <!ENTITY binutils-posix-patch-md5 "7e42a8edc0c59246bbc58c428256113c">
    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">
     8<!ENTITY binutils-posix-patch-md5 "f2020cb369c2facbfd8987fa2263f31f">
     9<!ENTITY binutils-posix-patch-size "4 KB">
    1410
    1511<!ENTITY busybox-fixes-patch "busybox-&busybox-version;-fixes-1.patch">
     
    1713<!ENTITY busybox-fixes-patch-size "20 KB">
    1814
    19 <!ENTITY gcc-cross_search-patch "gcc-&gcc-version;-cross_search_paths-1.patch">
    20 <!ENTITY gcc-cross_search-patch-md5 "8ef51c0c74f0ea8511e59544f719470f">
    21 <!ENTITY gcc-cross_search-patch-size "4 KB">
    22 
    2315<!ENTITY gcc-posix-patch "gcc-&gcc-version;-posix-1.patch">
    24 <!ENTITY gcc-posix-patch-md5 "9aa1cdcbaedb4e1ed3f65ae25cdc413b">
     16<!ENTITY gcc-posix-patch-md5 "ed26ea522e014b2e39adf066bd44053b">
    2517<!ENTITY gcc-posix-patch-size "12 KB">
    26 
    27 <!ENTITY gcc-uclibc-patch "gcc-&gcc-version;-uclibc-1.patch">
    28 <!ENTITY gcc-uclibc-patch-md5 "77764a4a5e2b71980e3964bbb6a95e35">
    29 <!ENTITY gcc-uclibc-patch-size "144 KB">
    3018
    3119<!ENTITY zlib-destdir-patch "zlib-&zlib-version;-DESTDIR-1.patch">
  • patches/binutils-2.19-posix-1.patch

    r56d186f r0194a60  
    11Submitted By: Jim Gifford (patches at jg555 dot com)
    2 Date: 2005-05-06
    3 Initial Package Version: 2.16
     2Date: 2007-09-01
     3Initial Package Version: 2.18
    44Origin: http://ttervo.vectorstar.net/nptl/posix-patches/binutils-2.14.90.0.7-posix-head-tail.patch
    55Upstream Status: Accepted/but Suspended
    66Description: Makes Posix Compliant
    7              Rediffed against 2.16 by Jeremy Huntwork
    87
    9 diff -Naur binutils-2.16-ORIG/gas/Makefile.am binutils-2.16/gas/Makefile.am
    10 --- binutils-2.16-ORIG/gas/Makefile.am  2005-03-22 10:31:44.000000000 -0500
    11 +++ binutils-2.16/gas/Makefile.am       2005-05-06 17:08:11.859876859 -0400
    12 @@ -762,13 +762,13 @@
     8diff -Naur binutils-2.18.orig/gas/Makefile.am binutils-2.18/gas/Makefile.am
     9--- binutils-2.18.orig/gas/Makefile.am  2007-08-28 10:19:35.000000000 -0700
     10+++ binutils-2.18/gas/Makefile.am       2007-09-01 11:36:26.000000000 -0700
     11@@ -791,13 +791,13 @@
    1312 against=stage2
    1413 
     
    2726              true ; \
    2827            else \
    29 diff -Naur binutils-2.16-ORIG/gas/Makefile.in binutils-2.16/gas/Makefile.in
    30 --- binutils-2.16-ORIG/gas/Makefile.in  2005-04-29 09:57:16.000000000 -0400
    31 +++ binutils-2.16/gas/Makefile.in       2005-05-06 17:08:11.868875659 -0400
    32 @@ -3164,13 +3164,13 @@
     28diff -Naur binutils-2.18.orig/gas/Makefile.in binutils-2.18/gas/Makefile.in
     29--- binutils-2.18.orig/gas/Makefile.in  2007-08-28 10:19:35.000000000 -0700
     30+++ binutils-2.18/gas/Makefile.in       2007-09-01 11:36:26.000000000 -0700
     31@@ -2763,13 +2763,13 @@
    3332        if [ -f stage3/as-new$(EXEEXT) -a ! -f stage3/as$(EXEEXT) ] ; then (cd stage3 ; ln -s as-new as$(EXEEXT)) ; fi
    3433 
     
    4746              true ; \
    4847            else \
    49 diff -Naur binutils-2.16-ORIG/ld/testsuite/ld-bootstrap/bootstrap.exp binutils-2.16/ld/testsuite/ld-bootstrap/bootstrap.exp
    50 --- binutils-2.16-ORIG/ld/testsuite/ld-bootstrap/bootstrap.exp  2005-03-03 06:52:06.000000000 -0500
    51 +++ binutils-2.16/ld/testsuite/ld-bootstrap/bootstrap.exp       2005-05-06 17:08:11.870875393 -0400
    52 @@ -149,8 +149,8 @@
     48diff -Naur binutils-2.18.orig/ld/testsuite/ld-bootstrap/bootstrap.exp binutils-2.18/ld/testsuite/ld-bootstrap/bootstrap.exp
     49--- binutils-2.18.orig/ld/testsuite/ld-bootstrap/bootstrap.exp  2007-08-06 13:00:23.000000000 -0700
     50+++ binutils-2.18/ld/testsuite/ld-bootstrap/bootstrap.exp       2007-09-01 11:36:26.000000000 -0700
     51@@ -152,8 +152,8 @@
    5352         # Although this works, a way to set the date would be better.
    5453         # Removing or zeroing the date stamp in the binary produced by
     
    6160         exec rm tmpdir/ld2tail tmpdir/ld3tail
    6261     } else {
    63 diff -Naur binutils-2.16-ORIG/ltcf-c.sh binutils-2.16/ltcf-c.sh
    64 --- binutils-2.16-ORIG/ltcf-c.sh        2004-10-05 09:34:42.000000000 -0400
    65 +++ binutils-2.16/ltcf-c.sh     2005-05-06 17:08:11.873874993 -0400
    66 @@ -153,7 +153,7 @@
    67      # If the export-symbols file already is a .def file (1st line
    68      # is EXPORTS), use it as is.
    69      # If DATA tags from a recent dlltool are present, honour them!
    70 -    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    71 +    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    72          cp $export_symbols $output_objdir/$soname-def;
    73        else
    74          echo EXPORTS > $output_objdir/$soname-def;
    75 diff -Naur binutils-2.16-ORIG/ltcf-gcj.sh binutils-2.16/ltcf-gcj.sh
    76 --- binutils-2.16-ORIG/ltcf-gcj.sh      2004-07-21 15:21:41.000000000 -0400
    77 +++ binutils-2.16/ltcf-gcj.sh   2005-05-06 17:08:11.876874593 -0400
    78 @@ -156,7 +156,7 @@
    79      # If the export-symbols file already is a .def file (1st line
    80      # is EXPORTS), use it as is.
    81      # If DATA tags from a recent dlltool are present, honour them!
    82 -    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    83 +    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    84          cp $export_symbols $output_objdir/$soname-def;
    85        else
    86          echo EXPORTS > $output_objdir/$soname-def;
    87 diff -Naur binutils-2.16-ORIG/src-release binutils-2.16/src-release
    88 --- binutils-2.16-ORIG/src-release      2004-12-03 05:30:06.000000000 -0500
    89 +++ binutils-2.16/src-release   2005-05-06 17:08:11.878874327 -0400
    90 @@ -69,7 +69,7 @@
     62diff -Naur binutils-2.18.orig/src-release binutils-2.18/src-release
     63--- binutils-2.18.orig/src-release      2007-08-12 12:04:26.000000000 -0700
     64+++ binutils-2.18/src-release   2007-09-01 11:36:38.000000000 -0700
     65@@ -73,7 +73,7 @@
    9166        elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
    9267          sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
Note: See TracChangeset for help on using the changeset viewer.