Changeset 8ffc8f19 in clfs-embedded for BOOK/cross-tools/x86


Ignore:
Timestamp:
Oct 24, 2013, 7:00:21 AM (10 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/x86/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 set the target triplet for the target architecture, the CPU
    18   type, and CPU endianess. If you do not know what triplet or CPU type you want,
     17  You will need to set the target triplet for the target architecture, and the
     18  CPU type. If you do not know what triplet or CPU type you want,
    1919  you can use the table at the bottom of this page as a reference. Set
    2020  the command using the method listed below:</para>
     
    2424export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen>
    2525
    26   <para os="c">Now we will set the architecture and endianess of the CPU based
     26  <para os="c">Now we will set the architecture of the CPU based
    2727  on the target triplet provided above:</para>
    2828
    29 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')
    30 export CLFS_ENDIAN=little</userinput></screen>
     29<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
    3130
    3231  <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
     
    3635echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    3736echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
    38 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" &gt;&gt; ~/.bashrc
    3937echo export CLFS_CPU=\""${CLFS_CPU}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    4038
Note: See TracChangeset for help on using the changeset viewer.