Changeset e1b2402 in clfs-embedded for BOOK/cross-tools/common/gcc-static.xml


Ignore:
Timestamp:
Jan 24, 2009, 10:22:31 AM (15 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
4b05af9
Parents:
ae582f6
Message:

GCC and Binutils Updates to Embedded

File:
1 edited

Legend:

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

    rae582f6 re1b2402  
    2828    and no Threads</title>
    2929
    30     <para os="p1">To make sure that a couple of tools use the proper syntax,
     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,
    3136    apply the following patch:</para>
    3237
    33 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
     38<screen os="p4"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
    3439
    3540    <para os="c">The GCC documentation recommends building GCC outside of the source
     
    4146    <para os="e">Prepare GCC for compilation:</para>
    4247
    43 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
    44     --target=${CLFS_TARGET} --disable-multilib \
    45     --with-sysroot=${CLFS} --disable-nls --disable-shared \
    46     --without-headers --with-newlib --disable-decimal-float \
    47     --disable-libgomp --disable-libmudflap --disable-libssp \
    48     --disable-threads --enable-languages=c</userinput></screen>
     48<screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
     49  ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
     50  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
     51  --with-sysroot=${CLFS} --disable-nls  --disable-shared \
     52  --with-mpfr=/cross-tools --with-gmp=/cross-tools \
     53  --without-headers --with-newlib --disable-decimal-float \
     54  --disable-libgomp --disable-libmudflap --disable-libssp \
     55  --disable-threads --enable-languages=c</userinput></screen>
    4956
    5057    <variablelist os="af">
Note: See TracChangeset for help on using the changeset viewer.