Changeset bd0ad10 in clfs-embedded for BOOK/cross-tools/common


Ignore:
Timestamp:
Feb 12, 2011, 2:12:12 PM (14 years ago)
Author:
Andrew Bradford <bradfa@…>
Branches:
master
Children:
7afc252
Parents:
b128a0e
Message:

Created MIPS and ARM GCC-Final files & cleanup

x86 is no longer common with MIPS and ARM for GCC-Final so it got its own
GCC-Final file. In order to reduce duplication between x86 GCC-Final
and the common GCC-Final, now MIPS and ARM also have their own GCC-Final
files, too.

In this way, everything that's common to all architectures goes in the
common GCC-Final file and each arch can do their own thing.
This will become more important once we start building GCC for a specific
processor, the ARM and MIPS configure lines will diverge.

* PLEASE NOTE *: This commit un-breaks GCC-Final for x86.
Feel free to merge.

File:
1 edited

Legend:

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

    rb128a0e rbd0ad10  
    55  %general-entities;
    66]>
     7
     8<!-- Common GCC-Final -->
    79
    810<sect1 id="ch-cross-tools-gcc-final" role="wrap">
     
    1618  </indexterm>
    1719
    18   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     20  <xi:include role="package" xmlns:xi="http://www.w3.org/2003/XInclude"
    1921  href="gcc-static.xml"
    2022  xpointer="xpointer(//*[@role='package'])"/>
     
    2325    <title>Installation of GCC Cross Compiler</title>
    2426
    25     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     27    <xi:include os="c" xmlns:xi="http://www.w3.org/2003/XInclude"
    2628    href="gcc-static.xml"
    2729    xpointer="xpointer(//*[@os='c'])"/>
    2830
    29     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     31    <xi:include os="d" xmlns:xi="http://www.w3.org/2003/XInclude"
    3032    href="gcc-static.xml"
    3133    xpointer="xpointer(//*[@os='d'])"/>
    3234
    33     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35    <xi:include os="e" xmlns:xi="http://www.w3.org/2003/XInclude"
    3436    href="gcc-static.xml"
    3537    xpointer="xpointer(//*[@os='e'])"/>
    3638
     39<!-- This is the common configure line for GCC-Final -->
     40<!-- It's not actually used by any arch but is here for reference. -->
    3741<screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
    3842  ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
     
    4145  --enable-languages=c --enable-c99 --enable-long-long \
    4246  --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
    43   --with-mpc=${CLFS}/cross-tools --with-abi=${CLFS_ABI}</userinput></screen>
     47  --with-mpc=${CLFS}/cross-tools</userinput></screen>
    4448
    4549    <variablelist os="af">
     
    6973    </variablelist>
    7074
    71     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     75    <xi:include os="ah" xmlns:xi="http://www.w3.org/2003/XInclude"
    7276    href="gcc-static.xml"
    7377    xpointer="xpointer(//*[@os='ah'])"/>
    7478
    75 <screen os="ah"><userinput>make</userinput></screen>
     79<screen os="ai"><userinput>make</userinput></screen>
    7680
    77     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     81    <xi:include os="aj" xmlns:xi="http://www.w3.org/2003/XInclude"
    7882    href="gcc-static.xml"
    7983    xpointer="xpointer(//*[@os='aj'])"/>
    8084
    81 <screen os="aj"><userinput>make install</userinput></screen>
     85<screen os="ak"><userinput>make install</userinput></screen>
    8286
    8387  </sect2>
Note: See TracChangeset for help on using the changeset viewer.