Changeset 0194a60 in clfs-embedded
- Timestamp:
- Nov 7, 2008, 11:37:37 PM (16 years ago)
- Branches:
- master
- Children:
- f8218f3
- Parents:
- 56d186f
- Files:
-
- 1 added
- 7 deleted
- 11 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm-chapter.xml
r56d186f r0194a60 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/linux-headers.xml"/> 19 19 <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"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/uclibc.xml"/> -
BOOK/cross-tools/common/binutils.xml
r56d186f r0194a60 36 36 37 37 <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 against40 uClibc:</para>41 42 <screen os="p4"><userinput>patch -Np1 -i ../&binutils-uclibc-patch;</userinput></screen>43 38 44 39 <para os="b">The Binutils documentation recommends building Binutils outside of the -
BOOK/cross-tools/common/gcc-final.xml
r56d186f r0194a60 30 30 href="gcc-static.xml" 31 31 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'])"/>48 32 49 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/common/gcc-static.xml
r56d186f r0194a60 33 33 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen> 34 34 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 not40 search the <filename class="directory">/usr</filename> directory for41 <filename class="libraryfile">libgcc_s.so</filename> when42 cross-compiling:</para>43 44 <screen os="p6"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen>45 46 35 <para os="c">The GCC documentation recommends building GCC outside of the source 47 36 directory in a dedicated build directory:</para> … … 55 44 --target=${CLFS_TARGET} --disable-multilib \ 56 45 --with-sysroot=${CLFS} --disable-nls --disable-shared \ 46 --without-headers --with-newlib --disable-decimal-float \ 47 --disable-libgomp --disable-libmudflap --disable-libssp \ 57 48 --disable-threads --enable-languages=c</userinput></screen> 58 49 … … 88 79 <para os="ag">Continue with compiling the package:</para> 89 80 90 <screen os="ah"><userinput>make all-gcc</userinput></screen>81 <screen os="ah"><userinput>make</userinput></screen> 91 82 92 83 <para os="ai">Install the package:</para> 93 84 94 <screen os="aj"><userinput>make install -gcc</userinput></screen>85 <screen os="aj"><userinput>make install</userinput></screen> 95 86 96 87 </sect2> -
BOOK/cross-tools/mips-chapter.xml
r56d186f r0194a60 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/> 19 19 <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"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/> -
BOOK/cross-tools/wrt-chapter.xml
r56d186f r0194a60 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/> 19 19 <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"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/> -
BOOK/cross-tools/x86-chapter.xml
r56d186f r0194a60 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-headers.xml"/> 19 19 <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"/>21 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 22 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/uclibc.xml"/> -
BOOK/introduction/common/changelog.xml
r56d186f r0194a60 38 38 39 39 <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> 40 55 <para>Janurary 9, 2008</para> 41 56 <itemizedlist> -
BOOK/materials/common/patches.xml
r56d186f r0194a60 29 29 30 30 <varlistentry> 31 <term>Binutils uClibc Patch - <token>&binutils-uclibc-patch-size;</token>:</term>32 <listitem>33 <para>Download: <ulink34 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>40 31 <term>Busybox Fixes Patch - <token>&busybox-fixes-patch-size;</token>:</term> 41 32 <listitem> … … 47 38 48 39 <varlistentry> 49 <term>GCC Cross Search Paths Patch - <token>&gcc-cross_search-patch-size;</token>:</term>50 <listitem>51 <para>Download: <ulink52 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>58 40 <term>GCC Posix Patch - <token>&gcc-posix-patch-size;</token>:</term> 59 41 <listitem> … … 61 43 url="&patches-root;&gcc-posix-patch;"/></para> 62 44 <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: <ulink70 url="&patches-root;&gcc-uclibc-patch;"/></para>71 <para>MD5 sum: <literal>&gcc-uclibc-patch-md5;</literal></para>72 45 </listitem> 73 46 </varlistentry> -
BOOK/packages.ent
r56d186f r0194a60 5 5 <!-- Note: For empty *-home entities use " " not "" --> 6 6 7 <!ENTITY binutils-version "2.1 7">8 <!ENTITY binutils-size "1 3,496KB">7 <!ENTITY binutils-version "2.19"> 8 <!ENTITY binutils-size "15,860 KB"> 9 9 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2"> 10 <!ENTITY binutils-md5 " e26e2e06b6e4bf3acf1dc8688a94c0d1">10 <!ENTITY binutils-md5 "17a52219dee5a76c1a9d9b0bfd337d66"> 11 11 <!ENTITY binutils-home "http://sources.redhat.com/binutils/"> 12 12 … … 29 29 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net"> 30 30 31 <!ENTITY gcc-version "4. 1.2">32 <!ENTITY gcc-size " 38,931KB">31 <!ENTITY gcc-version "4.3.2"> 32 <!ENTITY gcc-size "57,616 KB"> 33 33 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> 34 <!ENTITY gcc-md5 " a4a3eb15c96030906d8494959eeda23c">34 <!ENTITY gcc-md5 "5dfac5da961ecd5f227c3175859a486d"> 35 35 <!ENTITY gcc-home "http://gcc.gnu.org"> 36 36 -
BOOK/patches.ent
r56d186f r0194a60 6 6 7 7 <!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"> 14 10 15 11 <!ENTITY busybox-fixes-patch "busybox-&busybox-version;-fixes-1.patch"> … … 17 13 <!ENTITY busybox-fixes-patch-size "20 KB"> 18 14 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 23 15 <!ENTITY gcc-posix-patch "gcc-&gcc-version;-posix-1.patch"> 24 <!ENTITY gcc-posix-patch-md5 " 9aa1cdcbaedb4e1ed3f65ae25cdc413b">16 <!ENTITY gcc-posix-patch-md5 "ed26ea522e014b2e39adf066bd44053b"> 25 17 <!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">30 18 31 19 <!ENTITY zlib-destdir-patch "zlib-&zlib-version;-DESTDIR-1.patch"> -
patches/binutils-2.19-posix-1.patch
r56d186f r0194a60 1 1 Submitted By: Jim Gifford (patches at jg555 dot com) 2 Date: 200 5-05-063 Initial Package Version: 2.1 62 Date: 2007-09-01 3 Initial Package Version: 2.18 4 4 Origin: http://ttervo.vectorstar.net/nptl/posix-patches/binutils-2.14.90.0.7-posix-head-tail.patch 5 5 Upstream Status: Accepted/but Suspended 6 6 Description: Makes Posix Compliant 7 Rediffed against 2.16 by Jeremy Huntwork8 7 9 diff -Naur binutils-2.1 6-ORIG/gas/Makefile.am binutils-2.16/gas/Makefile.am10 --- binutils-2.1 6-ORIG/gas/Makefile.am 2005-03-22 10:31:44.000000000 -050011 +++ binutils-2.1 6/gas/Makefile.am 2005-05-06 17:08:11.859876859 -040012 @@ -7 62,13 +762,13 @@8 diff -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 @@ 13 12 against=stage2 14 13 … … 27 26 true ; \ 28 27 else \ 29 diff -Naur binutils-2.1 6-ORIG/gas/Makefile.in binutils-2.16/gas/Makefile.in30 --- binutils-2.1 6-ORIG/gas/Makefile.in 2005-04-29 09:57:16.000000000 -040031 +++ binutils-2.1 6/gas/Makefile.in 2005-05-06 17:08:11.868875659 -040032 @@ - 3164,13 +3164,13 @@28 diff -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 @@ 33 32 if [ -f stage3/as-new$(EXEEXT) -a ! -f stage3/as$(EXEEXT) ] ; then (cd stage3 ; ln -s as-new as$(EXEEXT)) ; fi 34 33 … … 47 46 true ; \ 48 47 else \ 49 diff -Naur binutils-2.1 6-ORIG/ld/testsuite/ld-bootstrap/bootstrap.exp binutils-2.16/ld/testsuite/ld-bootstrap/bootstrap.exp50 --- binutils-2.1 6-ORIG/ld/testsuite/ld-bootstrap/bootstrap.exp 2005-03-03 06:52:06.000000000 -050051 +++ binutils-2.1 6/ld/testsuite/ld-bootstrap/bootstrap.exp 2005-05-06 17:08:11.870875393 -040052 @@ -1 49,8 +149,8 @@48 diff -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 @@ 53 52 # Although this works, a way to set the date would be better. 54 53 # Removing or zeroing the date stamp in the binary produced by … … 61 60 exec rm tmpdir/ld2tail tmpdir/ld3tail 62 61 } 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 @@ 62 diff -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 @@ 91 66 elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \ 92 67 sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
Note:
See TracChangeset
for help on using the changeset viewer.