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


Ignore:
Timestamp:
Feb 12, 2011, 1:41:33 PM (12 years ago)
Author:
Andrew Bradford <bradfa@…>
Branches:
master
Children:
b128a0e
Parents:
1fd00ea
Message:

Created MIPS and ARM GCC-Static files & cleanup

x86 no longer is common with MIPS and ARM for GCC-Static, so it has
its own GCC-Static file. In the previous implementation, there
was a lot of duplication between the common and x86 GCC-Static files.
This removes the duplication by better referencing the common file
and also creates MIPS and ARM specific GCC-Static files.

In this way, everything that is common to all architectures goes into
the common file and each architecture's GCC-Static file is specific
to the architecture.

* PLEASE NOTE *: As of this commit, GCC-Final is BROKEN for x86!
It will be fixed shortly.
DO NOT MERGE THIS UNTIL GCC-FINAL IS FIXED FOR x86!

File:
1 edited

Legend:

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

    r1fd00ea rae51e2a  
    2525
    2626  <sect2 role="installation">
    27     <title>Installation of Cross GCC Compiler with Static libgcc
     27    <title os="a">Installation of Cross GCC Compiler with Static libgcc
    2828    and no Threads</title>
    2929
     
    3636    <para os="e">Prepare GCC for compilation:</para>
    3737
     38<!-- This is the common configure line for GCC-Static. -->
     39<!-- It's not actually used by any arch but is here for reference. -->
    3840<screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
    3941  ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
     
    4345  --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
    4446  --disable-decimal-float --disable-libgomp --disable-libmudflap \
    45   --disable-libssp --disable-threads --enable-languages=c \
    46   --with-abi=${CLFS_ABI}</userinput></screen>
     47  --disable-libssp --disable-threads --enable-languages=c</userinput></screen>
    4748
    4849    <variablelist os="af">
     
    207208      </varlistentry>
    208209
    209       <varlistentry os="af19">
    210         <term><parameter>--with-abi=${CLFS_ABI}</parameter></term>
    211         <listitem>
    212           <para>This option sets the ABI selected earlier.</para>
    213         </listitem>
    214       </varlistentry>
    215 
    216210    </variablelist>
    217211
    218     <para os="ag">Continue with compiling the package:</para>
    219 
    220 <screen os="ah"><userinput>make all-gcc all-target-libgcc</userinput></screen>
    221 
    222     <para os="ai">Install the package:</para>
    223 
    224 <screen os="aj"><userinput>make install-gcc install-target-libgcc</userinput></screen>
     212    <para os="ah">Continue with compiling the package:</para>
     213
     214<screen os="ai"><userinput>make all-gcc all-target-libgcc</userinput></screen>
     215
     216    <para os="aj">Install the package:</para>
     217
     218<screen os="ak"><userinput>make install-gcc install-target-libgcc</userinput></screen>
    225219
    226220  </sect2>
Note: See TracChangeset for help on using the changeset viewer.