Changeset 8ffc8f19 in clfs-embedded for BOOK/cross-tools/arm/variables.xml


Ignore:
Timestamp:
Oct 24, 2013, 2:00:21 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
293bc69
Parents:
721d74f
Message:

variables: Make ARM & x86 always little endian

99% of the time, this is correct.

File:
1 edited

Legend:

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

    r721d74f r8ffc8f19  
    1515  <para os="a">During the building of the cross-compile tools, you will need to
    1616  set a few variables that will be dependent on your particular needs.
    17   You will need to select the target triplet for the target architecture, the CPU
    18   endianess, the CPU architecture, the CPU mode, the CPU floating point hardware
     17  You will need to select the target triplet for the target architecture,
     18  the CPU architecture, the CPU mode, the CPU floating point hardware
    1919  availability, and (if available) the type of floating point hardware. If you
    2020  do not know what values can be chosen for each of these, you can use the
    2121  tables at the bottom of this page as a reference.</para>
    2222
    23   <para os="a1">Most ARM processors are little endian, it is a safe choice.  If
    24   your processor is an ARM9, good choices include: triplet of
     23  <para os="a1">If your processor is an ARM9, good choices include: triplet of
    2524  armv5l-unknown-linux-uclibeabi, ARM arch of armv5t, and float of soft.  ARM9
    2625  processors do not usually have hardware floating point abilities. If your
     
    3635  xpointer="xpointer(//*[@os='b'])"/>
    3736
    38   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    39   href="../common/variables.xml"
    40   xpointer="xpointer(//*[@os='c'])"/>
     37  <para os="c">Now we will set the architecture of the CPU based
     38  on the target triplet provided above:</para>
    4139
    42 <screen os="d"><userinput>export CLFS_ARCH=arm
    43 export CLFS_ENDIAN="<replaceable>[endianess]</replaceable>"</userinput></screen>
     40<screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen>
    4441
    4542  <para os="e">Choose the ARM architecture (see table below) and mode of
     
    7168echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    7269echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
    73 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" &gt;&gt; ~/.bashrc
    7470echo export CLFS_ARM_ARCH=\""${CLFS_ARM_ARCH}\"" &gt;&gt; ~/.bashrc
    7571echo export CLFS_ARM_MODE=\""${CLFS_ARM_MODE}\"" &gt;&gt; ~/.bashrc
     
    8177    <?dbfo table-width="7in" ?>
    8278
    83     <tgroup cols="4">
     79    <tgroup cols="3">
    8480
    8581      <colspec colnum="1" colwidth="2.5in" colname="Processor"/>
    86       <colspec colnum="2" colwidth="1in" colname="Endianess"/>
    87       <colspec colnum="3" colwidth="1in" colname="ABI"/>
    88       <colspec colnum="4" colwidth="2.5in" colname="Triplet"/>
     82      <colspec colnum="2" colwidth="1in" colname="ABI"/>
     83      <colspec colnum="3" colwidth="2.5in" colname="Triplet"/>
    8984
    9085      <thead>
    9186        <row>
    9287          <entry>Processor</entry>
    93           <entry>Endianess</entry>
    9488          <entry>ABI</entry>
    9589          <entry>Target Triplet</entry>
     
    10094        <row>
    10195          <entry>Generic arm, version 5</entry>
    102           <entry>little</entry>
    10396          <entry>EABI</entry>
    10497          <entry>armv5l-unknown-linux-musleabi</entry>
    10598        </row>
    10699        <row>
    107           <entry>Generic arm, version 5</entry>
    108           <entry>big</entry>
    109           <entry>EABI</entry>
    110           <entry>armv5b-unknown-linux-musleabi</entry>
    111         </row>
    112         <row>
    113100          <entry>Generic arm</entry>
    114           <entry>little</entry>
    115101          <entry>EABI</entry>
    116102          <entry>arm-unknown-linux-musleabi</entry>
     
    118104        <row>
    119105          <entry>Generic arm, version 7-a </entry>
    120           <entry>little</entry>
    121106          <entry>EABI</entry>
    122107          <entry>armv7a-unknown-linux-musleabi</entry>
Note: See TracChangeset for help on using the changeset viewer.