Ignore:
Timestamp:
Aug 27, 2008, 4:51:20 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
ddbac3c
Parents:
5df4d80
Message:

Upgrade to GCC 4.3.1.

File:
1 edited

Legend:

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

    r5df4d80 r6a043e2  
    2424    and no Threads</title>
    2525
    26 <!--
    27     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    28     href="../../final-system/common/gcc.xml"
    29     xpointer="xpointer(//*[@os='p1'])"/>
    30 
    31     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    32     href="../../final-system/common/gcc.xml"
    33     xpointer="xpointer(//*[@os='p2'])"/>
    34 -->
    35 
    3626    <para os="aa">Make a couple of essential adjustments to the specs file
    3727    to ensure GCC uses our build environment:</para>
     
    4333
    4434<screen os="ad"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
    45 
    46     <para os="ae">The following patch ensures that <command>gcc</command> does not
    47     search the <filename class="directory">/usr</filename> directory for
    48     <filename class="libraryfile">libgcc_s.so</filename> when
    49     cross-compiling:</para>
    50 
    51 <screen os="af"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen>
    5235
    5336    <para os="ag">Change the StartFile Spec to point to the correct library
     
    7760    xpointer="xpointer(//*[@os='h'])"/>
    7861
    79 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    80     --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
    81     --with-local-prefix=/tools --disable-nls --disable-shared \
    82     --disable-threads --enable-languages=c</userinput></screen>
     62<screen os="al"><userinput>AR=ar ../gcc-&gcc-version;/configure --prefix=/cross-tools \
     63    --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
     64    --disable-multilib --with-local-prefix=/tools --disable-nls \
     65    --without-headers --with-newlib --disable-decimal-float \
     66    --disable-libgomp --disable-libmudflap --disable-libssp \
     67    --disable-shared --disable-threads --enable-languages=c</userinput></screen>
    8368
    8469    <variablelist os="am">
     
    124109    <para os="an">Continue with compiling the package:</para>
    125110
    126 <screen os="ao"><userinput>make all-gcc</userinput></screen>
     111<screen os="ao"><userinput>make</userinput></screen>
    127112
    128113    <para os="ap">Install the package:</para>
    129114
    130 <screen os="aq"><userinput>make install-gcc</userinput></screen>
     115<screen os="aq"><userinput>make install</userinput></screen>
    131116
    132117  </sect2>
Note: See TracChangeset for help on using the changeset viewer.