Changeset a9bbc46 in clfs-embedded for BOOK/cross-tools/x86/variables.xml


Ignore:
Timestamp:
Nov 28, 2010, 7:46:43 AM (13 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
d9bcc87
Parents:
87d09b7
Message:

Updated uClibc to 0.9.31.

File:
1 edited

Legend:

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

    r87d09b7 ra9bbc46  
    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
    18   architecture. You can do this by running the same command as above, just
    19   running it on the target machine. If you can't run the command on the
    20   target machine, you can use the table at the bottom of this page. Set
     17  You will need to set the target triplet for the target architecture. As well
     18  as the CPUs type and endianess. If you do not know what triplet you want,
     19  you can use the table at the bottom of this page as a reference. Set
    2120  the command using the method listed below:</para>
    2221
    2322<screen os="b"><userinput>export CLFS_HOST=$(echo ${MACHTYPE} | sed "s/-[^-]*/-cross/")
    24 export CLFS_TARGET="{target triplet}"</userinput></screen>
     23export CLFS_TARGET=<replaceable>[target triplet]</replaceable></userinput></screen>
    2524
    26   <para os="c">Now we will setup out default architecture needed we need to build:</para>
     25  <para os="c">Now we will set the architecture and endianess of the CPU based
     26  on the target triplet provided above:</para>
    2727
    28 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
    29 
    30   <para os="e">Now we will setup out default endian needed we need to build and set the one we don't need:</para>
    31 
    32 <screen os="f"><userinput>export CLFS_ENDIAN=LITTLE
    33 export CLFS_NOT_ENDIAN=BIG</userinput></screen>
     28<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')
     29export CLFS_ENDIAN=little</userinput></screen>
    3430
    3531  <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
     
    3935echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    4036echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
    41 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" &gt;&gt; ~/.bashrc
    42 echo export CLFS_NOT_ENDIAN=\""${CLFS_NOT_ENDIAN}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     37echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    4338
    4439  <table os="i">
Note: See TracChangeset for help on using the changeset viewer.