Changeset bcfbe5b in clfs-embedded for BOOK/cross-tools/mips


Ignore:
Timestamp:
Feb 26, 2011, 9:33:02 AM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
d38764e
Parents:
a94e338 (diff), b54e969 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote branch 'remotes/abradford/master'

Location:
BOOK/cross-tools/mips
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/mips/abi.xml

    ra94e338 rbcfbe5b  
    2525  <table>
    2626    <title>List of Build Variables</title>
    27     <?dbfo table-width="3in" ?>
     27    <?dbfo table-width="5.5in" ?>
    2828
    2929    <tgroup cols="2">
    3030
    3131      <colspec colnum="1" colwidth="1.5in" colname="ABI to Select"/>
    32       <colspec colnum="2" colwidth="1.5in" colname="Variable Value"/>
     32      <colspec colnum="2" colwidth="1.5in" colname="CLFS_ABI Value"/>
     33      <colspec colnum="3" colwidth="2.5in" colname="Notes"/>
    3334
    3435      <thead>
     
    3637          <entry>ABI</entry>
    3738          <entry>CLFS_ABI=Value</entry>
     39          <entry>Notes</entry>
    3840        </row>
    3941      </thead>
     
    4143      <tbody>
    4244        <row>
    43           <entry>32-Bit</entry>
     45          <entry>O32</entry>
    4446          <entry>32</entry>
     47          <entry>For 32 bit CPUs only</entry>
    4548        </row>
    4649        <row>
    4750          <entry>N32</entry>
    4851          <entry>n32</entry>
     52          <entry>For 64 bit CPUs operating in 32 bit mode</entry>
    4953        </row>
    5054        <row>
    51           <entry>64-Bit</entry>
     55          <entry>N64</entry>
    5256          <entry>64</entry>
     57          <entry>For 64 bit CPUs operating in 64 bit mode</entry>
    5358        </row>
    5459      </tbody>
  • BOOK/cross-tools/mips/gcc-final.xml

    ra94e338 rbcfbe5b  
    4343  --enable-languages=c --enable-c99 --enable-long-long \
    4444  --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
    45   --with-mpc=${CLFS}/cross-tools --with-abi=${CLFS_ABI}</userinput></screen>
     45  --with-mpc=${CLFS}/cross-tools --disable-multilib \
     46  --with-abi=${CLFS_ABI} --with-arch=mips${CLFS_MIPS_LEVEL} \
     47  --with-float=${CLFS_FLOAT} --with-endian=${CLFS_ENDIAN}</userinput></screen>
    4648
    47     <variablelist os="af">
    48       <title>The meaning of the configure options not used previously:</title>
    49 
    50       <varlistentry os="af1">
    51         <term><parameter>--enable-shared</parameter></term>
    52         <listitem>
    53           <para>Enables the creation of the shared libraries.</para>
    54         </listitem>
    55       </varlistentry>
    56 
    57       <varlistentry os="af2">
    58         <term><parameter>--enable-c99</parameter></term>
    59         <listitem>
    60           <para>Enable C99 support for C programs.</para>
    61         </listitem>
    62       </varlistentry>
    63 
    64       <varlistentry os="af3">
    65         <term><parameter>--enable-long-long</parameter></term>
    66         <listitem>
    67           <para>Enables long long support in the compiler.</para>
    68         </listitem>
    69       </varlistentry>
    70 
    71     </variablelist>
     49    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     50    href="../common/gcc-final.xml"
     51    xpointer="xpointer(//*[@os='af'])"/>
    7252
    7353    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/mips/gcc-static.xml

    ra94e338 rbcfbe5b  
    4848  --disable-decimal-float --disable-libgomp --disable-libmudflap \
    4949  --disable-libssp --disable-threads --enable-languages=c \
    50   --with-abi=${CLFS_ABI}</userinput></screen>
     50  --disable-multilib --with-abi=${CLFS_ABI} --with-arch=mips${CLFS_MIPS_LEVEL} \
     51  --with-float=${CLFS_FLOAT} --with-endian=${CLFS_ENDIAN}</userinput></screen>
    5152
    5253<!-- Common configure switches for all archs -->
     
    6263      <listitem>
    6364        <para>This option sets the ABI selected earlier.</para>
     65      </listitem>
     66    </varlistentry>
     67    <varlistentry os="ag2">
     68      <term><parameter>--with-arch=mips${CLFS_MIPS_LEVEL}</parameter></term>
     69      <listitem>
     70        <para>This option sets the MIPS architecture ISA.  Generic options
     71        that apply to this book are of the form "mips${CLFS_MIPS_LEVEL}".
     72        For example, "mips1" or "mips3".  For a more expanded list of choices,
     73        please see the GCC documentation at
     74        <ulink url="http://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html" /></para>
     75      </listitem>
     76    </varlistentry>
     77    <varlistentry os="ag3">
     78      <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
     79      <listitem>
     80        <para>This option sets the floating point mode selected earlier.</para>
     81      </listitem>
     82    </varlistentry>
     83    <varlistentry os="ag4">
     84      <term><parameter>--with-endian=${CLFS_ENDIAN}</parameter></term>
     85      <listitem>
     86        <para>This option sets the endianess of the CPU selected earlier.
     87        GCC's configure scripts may not be able to determine the endianess
     88        based only on the target triplet (as other architectures do).</para>
    6489      </listitem>
    6590    </varlistentry>
  • BOOK/cross-tools/mips/variables.xml

    ra94e338 rbcfbe5b  
    3232
    3333  <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your
    34 uClibc is built. There are currently 5 MIPS ISA Levels. To keep things simple
    35 we are only using 2. For more information, go to
    36 <ulink url="http://www.linux-mips.org/wiki/Instruction_Set_Architecture"/></para>
     34  GCC and uClibc are built. There are currently 5 MIPS ISA Levels. To keep things
     35  simple we are only using two. For more information, see
     36  <ulink url="http://www.linux-mips.org/wiki/Instruction_Set_Architecture"/></para>
    3737
    38 <screen os="m2"><userinput>export CLFS_MIPS_LEVEL="{mips level}"</userinput></screen>
     38<screen os="m2"><userinput>export CLFS_MIPS_LEVEL="<replaceable>[mips level]</replaceable>"</userinput></screen>
     39
     40  <para os="m3">We also need to select the floating point capability of the CPU.
     41  If the CPU has built-in hardware for performing floating point calculations,
     42  choose "hard", otherwise choose "soft":</para>
     43
     44<screen os="m4"><userinput>export CLFS_FLOAT="<replaceable>[hard or soft]</replaceable>"</userinput></screen>
    3945
    4046  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4652echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
    4753echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" &gt;&gt; ~/.bashrc
    48 echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     54echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" &gt;&gt; ~/.bashrc
     55echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    4956
    5057  <table os="i">
Note: See TracChangeset for help on using the changeset viewer.