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.

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

Legend:

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

    r5df4d80 r6a043e2  
    2323    <title>Installation of GCC Cross Compiler</title>
    2424
    25 <!--
    26     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    27     href="gcc-static.xml"
    28     xpointer="xpointer(//*[@os='p1'])"/>
    29 
    30     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    31     href="gcc-static.xml"
    32     xpointer="xpointer(//*[@os='p2'])"/>
    33 -->
    34 
    35     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    36     href="../../final-system/common/gcc.xml"
    37     xpointer="xpointer(//*[@os='p3'])"/>
    38 
    39     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    40     href="../../final-system/common/gcc.xml"
    41     xpointer="xpointer(//*[@os='p4'])"/>
    42 
    4325    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4426    href="gcc-static.xml"
     
    5638    href="gcc-static.xml"
    5739    xpointer="xpointer(//*[@os='ad'])"/>
    58 
    59     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    60     href="gcc-static.xml"
    61     xpointer="xpointer(//*[@os='ae'])"/>
    62 
    63     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    64     href="gcc-static.xml"
    65     xpointer="xpointer(//*[@os='af'])"/>
    6640
    6741    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    10074    xpointer="xpointer(//*[@os='h'])"/>
    10175
    102 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    103     --target=${CLFS_TARGET} --host=${CLFS_HOST} --disable-multilib \
    104     --with-local-prefix=/tools --disable-nls --enable-shared \
    105     --enable-languages=c,c++ --enable-__cxa_atexit \
     76<screen os="bf"><userinput>AR=ar ../gcc-&gcc-version;/configure --prefix=/cross-tools \
     77    --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
     78    --disable-multilib --with-local-prefix=/tools --disable-nls \
     79    --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
    10680    --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>
    10781
  • 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>
  • BOOK/cross-tools/common/glibc.xml

    r5df4d80 r6a043e2  
    2626    the method suggested in this book puts the stability of the system at
    2727    risk.</para>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     30    href="../../final-system/common/glibc.xml"
     31    xpointer="xpointer(//*[@os='p3'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../../final-system/common/glibc.xml"
     35    xpointer="xpointer(//*[@os='p4'])"/>
    2836
    2937    <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
Note: See TracChangeset for help on using the changeset viewer.