Changeset 35e0963 in clfs-embedded for BOOK/cross-tools/common


Ignore:
Timestamp:
Nov 21, 2010, 8:05:38 AM (13 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
b6327d0
Parents:
c747e18
Message:

Initial Upgrade of GCC to 4.5.1. MPC needs to be added.

Location:
BOOK/cross-tools/common
Files:
2 edited

Legend:

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

    rc747e18 r35e0963  
    2525    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2626    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"
    4327    xpointer="xpointer(//*[@os='c'])"/>
    4428
     
    5135    xpointer="xpointer(//*[@os='e'])"/>
    5236
    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 \
    5439  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    5540  --with-sysroot=${CLFS} --disable-nls --enable-shared \
    5641  --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>
    5843
    5944    <variablelist os="af">
  • BOOK/cross-tools/common/gcc-static.xml

    rc747e18 r35e0963  
    2828    and no Threads</title>
    2929
    30     <para os="p1">The following patch contains a number of updates to the
    31     &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 
    4030    <para os="c">The GCC documentation recommends building GCC outside of the source
    4131    directory in a dedicated build directory:</para>
     
    4636    <para os="e">Prepare GCC for compilation:</para>
    4737
    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" \
    4939  ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
    5040  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    5141  --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 \
    5343  --without-headers --with-newlib --disable-decimal-float \
    5444  --disable-libgomp --disable-libmudflap --disable-libssp \
     
    8676    <para os="ag">Continue with compiling the package:</para>
    8777
    88 <screen os="ah"><userinput>make</userinput></screen>
     78<screen os="ah"><userinput>make all-gcc all-target-libgcc</userinput></screen>
    8979
    9080    <para os="ai">Install the package:</para>
    9181
    92 <screen os="aj"><userinput>make install</userinput></screen>
     82<screen os="aj"><userinput>make install-gcc install-target-libgcc</userinput></screen>
    9383
    9484  </sect2>
Note: See TracChangeset for help on using the changeset viewer.