- Timestamp:
- Nov 21, 2010, 4:05:38 PM (14 years ago)
- Branches:
- master
- Children:
- b6327d0
- Parents:
- c747e18
- Location:
- BOOK
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/gcc-final.xml
rc747e18 r35e0963 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="gcc-static.xml" 27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="gcc-static.xml"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 27 xpointer="xpointer(//*[@os='c'])"/> 44 28 … … 51 35 xpointer="xpointer(//*[@os='e'])"/> 52 36 53 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \ 37 <screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \ 38 ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \ 54 39 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 55 40 --with-sysroot=${CLFS} --disable-nls --enable-shared \ 56 41 --enable-languages=c --enable-c99 --enable-long-long \ 57 --with-mpfr= /cross-tools --with-gmp=/cross-tools</userinput></screen>42 --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools</userinput></screen> 58 43 59 44 <variablelist os="af"> -
BOOK/cross-tools/common/gcc-static.xml
rc747e18 r35e0963 28 28 and no Threads</title> 29 29 30 <para os="p1">The following patch contains a number of updates to the31 &gcc-version; branch by the GCC developers:</para>32 33 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen>34 35 <para os="p3">To make sure that a couple of tools use the proper syntax,36 apply the following patch:</para>37 38 <screen os="p4"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>39 40 30 <para os="c">The GCC documentation recommends building GCC outside of the source 41 31 directory in a dedicated build directory:</para> … … 46 36 <para os="e">Prepare GCC for compilation:</para> 47 37 48 <screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath, /cross-tools/lib" \38 <screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \ 49 39 ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \ 50 40 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 51 41 --with-sysroot=${CLFS} --disable-nls --disable-shared \ 52 --with-mpfr= /cross-tools --with-gmp=/cross-tools \42 --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \ 53 43 --without-headers --with-newlib --disable-decimal-float \ 54 44 --disable-libgomp --disable-libmudflap --disable-libssp \ … … 86 76 <para os="ag">Continue with compiling the package:</para> 87 77 88 <screen os="ah"><userinput>make </userinput></screen>78 <screen os="ah"><userinput>make all-gcc all-target-libgcc</userinput></screen> 89 79 90 80 <para os="ai">Install the package:</para> 91 81 92 <screen os="aj"><userinput>make install </userinput></screen>82 <screen os="aj"><userinput>make install-gcc install-target-libgcc</userinput></screen> 93 83 94 84 </sect2> -
BOOK/introduction/common/changelog.xml
rc747e18 r35e0963 40 40 <para>November 21, 2010</para> 41 41 <itemizedlist> 42 <listitem> 43 <para>[jciccone] - Updated GCC to 4.5.1.</para> 44 </listitem> 42 45 <listitem> 43 46 <para>[jciccone] - Updated Binutils to 2.20.1.</para> -
BOOK/materials/common/patches.xml
rc747e18 r35e0963 29 29 30 30 <varlistentry> 31 <term>GCC Branch Update Patch - <token>&gcc-branch_update-patch-size;</token>:</term>32 <listitem>33 <para>Download: <ulink34 url="&patches-root;&gcc-branch_update-patch;"/></para>35 <para>MD5 sum: <literal>&gcc-branch_update-patch-md5;</literal></para>36 </listitem>37 </varlistentry>38 39 <varlistentry>40 <term>GCC Posix Patch - <token>&gcc-posix-patch-size;</token>:</term>41 <listitem>42 <para>Download: <ulink43 url="&patches-root;&gcc-posix-patch;"/></para>44 <para>MD5 sum: <literal>&gcc-posix-patch-md5;</literal></para>45 </listitem>46 </varlistentry>47 48 <varlistentry>49 31 <term>uClibc Branch Update Patch - <token>&uclibc-branch_update-patch-size;</token>:</term> 50 32 <listitem> -
BOOK/packages.ent
rc747e18 r35e0963 35 35 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net"> 36 36 37 <!ENTITY gcc-version "4. 3.3">38 <!ENTITY gcc-size " 57,978KB">37 <!ENTITY gcc-version "4.5.1"> 38 <!ENTITY gcc-size "64,576 KB"> 39 39 <!ENTITY gcc-url "ftp://gcc.gnu.org/pub/gcc/releases/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> 40 <!ENTITY gcc-md5 " cc3c5565fdb9ab87a05ddb106ba0bd1f">40 <!ENTITY gcc-md5 "48231a8e33ed6e058a341c53b819de1a"> 41 41 <!ENTITY gcc-home "http://gcc.gnu.org"> 42 42 -
BOOK/patches.ent
rc747e18 r35e0963 8 8 <!ENTITY busybox-branch_update-patch-md5 "65c152520da3d998233c11de4612d667"> 9 9 <!ENTITY busybox-branch_update-patch-size "15 KB"> 10 11 <!ENTITY gcc-branch_update-patch "gcc-&gcc-version;-branch_update-5.patch">12 <!ENTITY gcc-branch_update-patch-md5 "d52b227655a341694809de17eba2d58d">13 <!ENTITY gcc-branch_update-patch-size "359 KB">14 15 <!ENTITY gcc-posix-patch "gcc-&gcc-version;-posix-1.patch">16 <!ENTITY gcc-posix-patch-md5 "ccc0d5f959234bf4fed2b6fa338d6117">17 <!ENTITY gcc-posix-patch-size "13 KB">18 10 19 11 <!ENTITY uclibc-branch_update-patch "uClibc-&uclibc-version;-branch_update-1.patch">
Note:
See TracChangeset
for help on using the changeset viewer.