Changeset bd0ad10 in clfs-embedded for BOOK


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.

Location:
BOOK/cross-tools
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm-chapter.xml

    rb128a0e rbd0ad10  
    2323  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/gcc-static.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/gcc-final.xml"/>
    2626
    2727</chapter>
  • 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>
  • BOOK/cross-tools/mips-chapter.xml

    rb128a0e rbd0ad10  
    2323  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-static.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-final.xml"/>
    2626
    2727</chapter>
  • BOOK/cross-tools/wrt-chapter.xml

    rb128a0e rbd0ad10  
    2121  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpc.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-static.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-final.xml"/>
    2626
    2727</chapter>
  • BOOK/cross-tools/x86/gcc-final.xml

    rb128a0e rbd0ad10  
    55  %general-entities;
    66]>
     7
     8<!-- x86 GCC-Final -->
    79
    810<sect1 id="ch-cross-tools-gcc-final" role="wrap">
     
    1719
    1820  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    19   href="../common/gcc-static.xml"
     21  href="../common/gcc-final.xml"
    2022  xpointer="xpointer(//*[@role='package'])"/>
    2123
     
    2426
    2527    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    26     href="../common/gcc-static.xml"
     28    href="../common/gcc-final.xml"
    2729    xpointer="xpointer(//*[@os='c'])"/>
    2830
    2931    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    30     href="../common/gcc-static.xml"
     32    href="../common/gcc-final.xml"
    3133    xpointer="xpointer(//*[@os='d'])"/>
    3234
    3335    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    34     href="../common/gcc-static.xml"
     36    href="../common/gcc-final.xml"
    3537    xpointer="xpointer(//*[@os='e'])"/>
    3638
     
    7173
    7274    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    73     href="gcc-static.xml"
    74     xpointer="xpointer(//*[@os='ag'])"/>
    75 
    76 <screen os="ah"><userinput>make</userinput></screen>
     75    href="../common/gcc-final.xml"
     76    xpointer="xpointer(//*[@os='ah'])"/>
    7777
    7878    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    79     href="../common/gcc-static.xml"
     79    href="../common/gcc-final.xml"
    8080    xpointer="xpointer(//*[@os='ai'])"/>
    8181
    82 <screen os="aj"><userinput>make install</userinput></screen>
     82    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     83    href="../common/gcc-final.xml"
     84    xpointer="xpointer(//*[@os='aj'])"/>
     85
     86    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     87    href="../common/gcc-final.xml"
     88    xpointer="xpointer(//*[@os='ak'])"/>
    8389
    8490  </sect2>
    8591
    86   <sect2 id="contents-gcc" role="content">
    87     <title>Contents of GCC</title>
    88 
    89     <segmentedlist>
    90       <segtitle>Installed programs</segtitle>
    91       <segtitle>Installed libraries</segtitle>
    92 
    93       <seglistitem>
    94         <seg>cc (link to gcc), gcc, gccbug, and gcov</seg>
    95         <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libmudflap.[a,so],
    96         and libmudflapth.[a,so]</seg>
    97       </seglistitem>
    98     </segmentedlist>
    99 
    100     <variablelist>
    101       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    102       <?dbfo list-presentation="list"?>
    103       <?dbhtml list-presentation="table"?>
    104 
    105       <varlistentry id="cc">
    106         <term><command>cc</command></term>
    107         <listitem>
    108           <para>The C compiler</para>
    109           <indexterm zone="ch-cross-tools-gcc-final cc">
    110             <primary sortas="b-cc">cc</primary>
    111           </indexterm>
    112         </listitem>
    113       </varlistentry>
    114 
    115       <varlistentry id="gcc">
    116         <term><command>gcc</command></term>
    117         <listitem>
    118           <para>The C compiler</para>
    119           <indexterm zone="ch-cross-tools-gcc-final gcc">
    120             <primary sortas="b-gcc">gcc</primary>
    121           </indexterm>
    122         </listitem>
    123       </varlistentry>
    124 
    125       <varlistentry id="gccbug">
    126         <term><command>gccbug</command></term>
    127         <listitem>
    128           <para>A shell script used to help create useful bug reports</para>
    129           <indexterm zone="ch-cross-tools-gcc-final gccbug">
    130             <primary sortas="b-gccbug">gccbug</primary>
    131           </indexterm>
    132         </listitem>
    133       </varlistentry>
    134 
    135       <varlistentry id="gcov">
    136         <term><command>gcov</command></term>
    137         <listitem>
    138           <para>A coverage testing tool; it is used to analyze programs to
    139           determine where optimizations will have the most effect</para>
    140           <indexterm zone="ch-cross-tools-gcc-final gcov">
    141             <primary sortas="b-gcov">gcov</primary>
    142           </indexterm>
    143         </listitem>
    144       </varlistentry>
    145 
    146       <varlistentry id="libgcc">
    147         <term><filename class="libraryfile">libgcc</filename></term>
    148         <listitem>
    149           <para>Contains run-time support for <command>gcc</command></para>
    150           <indexterm zone="ch-cross-tools-gcc-final libgcc">
    151             <primary sortas="c-libgcc*">libgcc*</primary>
    152           </indexterm>
    153         </listitem>
    154       </varlistentry>
    155 
    156       <varlistentry id="libmudflap">
    157         <term><filename class="libraryfile">libmudflap</filename></term>
    158         <listitem>
    159           <para>The libmudflap libraries are used by GCC for instrumenting
    160           pointer and array dereferencing operations.</para>
    161           <indexterm zone="ch-cross-tools-gcc-final libmudflap">
    162             <primary sortas="c-libmudflap*">libmudflap*</primary>
    163           </indexterm>
    164         </listitem>
    165       </varlistentry>
    166 
    167     </variablelist>
    168 
    169   </sect2>
     92    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     93    href="../common/gcc-final.xml"
     94    xpointer="xpointer(//*[@role='content'])"/>
    17095
    17196</sect1>
Note: See TracChangeset for help on using the changeset viewer.