Changeset 8ffc8f19 in clfs-embedded for BOOK/cross-tools/x86/variables.xml
- Timestamp:
- Oct 24, 2013, 2:00:21 PM (11 years ago)
- Branches:
- master
- Children:
- 293bc69
- Parents:
- 721d74f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/x86/variables.xml
r721d74f r8ffc8f19 15 15 <para os="a">During the building of the cross-compile tools you will need to 16 16 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 CPU18 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, 19 19 you can use the table at the bottom of this page as a reference. Set 20 20 the command using the method listed below:</para> … … 24 24 export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen> 25 25 26 <para os="c">Now we will set the architecture and endianessof the CPU based26 <para os="c">Now we will set the architecture of the CPU based 27 27 on the target triplet provided above:</para> 28 28 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> 31 30 32 31 <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in … … 36 35 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc 37 36 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc 38 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc39 37 echo export CLFS_CPU=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen> 40 38
Note:
See TracChangeset
for help on using the changeset viewer.