Changeset 6b723ad in clfs-embedded
- Timestamp:
- Feb 9, 2011, 3:53:24 AM (14 years ago)
- Branches:
- master
- Children:
- b7f5467
- Parents:
- ff29c76
- Location:
- BOOK/cross-tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/x86-chapter.xml
rff29c76 r6b723ad 14 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/> 15 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/abi.xml"/>17 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/variables.xml"/> 18 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/> -
BOOK/cross-tools/x86/variables.xml
rff29c76 r6b723ad 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 . As well18 as the CPUs type and endianess. If you do not know what tripletyou want,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, 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> 21 21 22 22 <screen os="b"><userinput>export CLFS_HOST=$(echo ${MACHTYPE} | sed "s/-[^-]*/-cross/") 23 export CLFS_TARGET=<replaceable>[target triplet]</replaceable></userinput></screen> 23 export CLFS_TARGET=<replaceable>[target triplet]</replaceable> 24 export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen> 24 25 25 26 <para os="c">Now we will set the architecture and endianess of the CPU based … … 39 40 <table os="i"> 40 41 <title>Processor Type and Target Triplets</title> 41 <?dbfo table-width=" 4.5in" ?>42 <?dbfo table-width="7.5in" ?> 42 43 43 44 <tgroup cols="2"> … … 45 46 <colspec colnum="1" colwidth="2.5in" colname="Processor"/> 46 47 <colspec colnum="2" colwidth="2in" colname="Triplet"/> 48 <colspec colnum="3" colwidth="0.5in" colname="CPU Type"/> 49 <colspec colnum="4" colwidth="2.5in" colname="Note"/> 47 50 48 51 <thead> … … 50 53 <entry>Processor</entry> 51 54 <entry>Target Triplet</entry> 55 <entry>CPU Type</entry> 56 <entry>Note</entry> 52 57 </row> 53 58 </thead> … … 57 62 <entry>486 Compatibles</entry> 58 63 <entry>i486-pc-linux-uclibc</entry> 64 <entry>i486</entry> 65 <entry>Intel's i486</entry> 59 66 </row> 60 67 <row> 61 68 <entry>Pentium, K6, 586 Compatibles</entry> 62 69 <entry>i586-pc-linux-uclibc</entry> 70 <entry>i586</entry> 71 <entry>Intel Pentium without MMX</entry> 63 72 </row> 64 73 <row> 65 74 <entry>Pentium II, Pentium III, Pentium 4</entry> 66 75 <entry>i686-pc-linux-uclibc</entry> 76 <entry>i686</entry> 77 <entry>PentiumPro instruction set</entry> 67 78 </row> 68 79 <row> 69 <entry>Athlon , Duron</entry>80 <entry>Athlon</entry> 70 81 <entry>i686-pc-linux-uclibc</entry> 82 <entry>athlon</entry> 83 <entry>AMD 32 bit Athlon</entry> 71 84 </row> 72 85 <row> 73 <entry> x86_64</entry>86 <entry>Opteron</entry> 74 87 <entry>x86_64-unknown-linux-uclibc</entry> 88 <entry>k8</entry> 89 <entry>AMD K8 processors with x86-64</entry> 75 90 </row> 76 91 </tbody>
Note:
See TracChangeset
for help on using the changeset viewer.