Changeset 49f9234 in clfs-embedded
- Timestamp:
- Oct 24, 2013, 3:02:31 PM (11 years ago)
- Branches:
- master
- Children:
- f96a570
- Parents:
- b50528b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/variables.xml
rb50528b r49f9234 22 22 23 23 <para os="a1">If your processor is an ARM9, good choices include: triplet of 24 arm v5l-linux-musleabi, ARM arch of armv5t, and float of soft. ARM924 arm-linux-musleabi, ARM arch of armv5t, and float of soft. ARM9 25 25 processors do not usually have hardware floating point abilities. If your 26 26 processor is a Cortex-A series, which often have hardware floating point 27 27 capability, good choices include: triplet of 28 arm v7a-linux-musleabi, ARM arch of armv7-a, float of hard, and fpu28 arm-linux-musleabihf, ARM arch of armv7-a, float of hard, and fpu 29 29 of vfpv3-d16.</para> 30 31 <para os="a2">First, set the host and target triplets:</para>32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="../common/variables.xml"35 xpointer="xpointer(//*[@os='b'])"/>36 37 <table os="i">38 <title>Example Processor Type, ABI, and Target Triplets</title>39 <?dbfo table-width="7in" ?>40 41 <tgroup cols="3">42 43 <colspec colnum="1" colwidth="2.5in" colname="Processor"/>44 <colspec colnum="2" colwidth="1in" colname="ABI"/>45 <colspec colnum="3" colwidth="2.5in" colname="Triplet"/>46 47 <thead>48 <row>49 <entry>Processor</entry>50 <entry>ABI</entry>51 <entry>Target Triplet</entry>52 </row>53 </thead>54 55 <tbody>56 <row>57 <entry>Generic arm, version 5</entry>58 <entry>EABI</entry>59 <entry>armv5l-linux-musleabi</entry>60 </row>61 <row>62 <entry>Generic arm</entry>63 <entry>EABI</entry>64 <entry>arm-linux-musleabi</entry>65 </row>66 <row>67 <entry>Generic arm, version 7-a </entry>68 <entry>EABI</entry>69 <entry>armv7a-linux-musleabi</entry>70 </row>71 </tbody>72 73 </tgroup>74 75 </table>76 77 <para os="c">Now set the architecture of the CPU:</para>78 79 <screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen>80 81 <para os="e">Choose the ARM architecture (see table below):</para>82 83 <screen os="f"><userinput>export CLFS_ARM_ARCH="<replaceable>[architecture]</replaceable>"</userinput></screen>84 85 <table os="j">86 <title>ARM Archiecture Choices</title>87 <?dbfo table-width="4in" ?>88 89 <tgroup cols="4">90 91 <colspec colnum="1" colwidth="1in" colname="Arch Choice"/>92 <colspec colnum="2" colwidth="1in" colname="Arch Choice"/>93 <colspec colnum="3" colwidth="1in" colname="Arch Choice"/>94 <colspec colnum="4" colwidth="1in" colname="Arch Choice"/>95 96 <tbody>97 <row>98 <entry>armv4t</entry>99 <entry>armv5</entry>100 <entry>armv5t</entry>101 <entry>armv5te</entry>102 </row>103 <row>104 <entry>armv6</entry>105 <entry>armv6j</entry>106 <entry>armv6t2</entry>107 <entry>armv6z</entry>108 </row>109 <row>110 <entry>armv6zk</entry>111 <entry>armv6-m</entry>112 <entry>armv7</entry>113 <entry>armv7-a</entry>114 </row>115 <row>116 <entry>armv7-r</entry>117 <entry>armv7-m</entry>118 </row>119 </tbody>120 </tgroup>121 </table>122 30 123 31 <para os="f1">If your target CPU has hardware floating point support (not all … … 179 87 </table> 180 88 89 <para os="a2">Then, set the host and target triplets:</para> 90 91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 92 href="../common/variables.xml" 93 xpointer="xpointer(//*[@os='b'])"/> 94 95 <table os="i"> 96 <title>Target Triplets</title> 97 <?dbfo table-width="7in" ?> 98 99 <tgroup cols="2"> 100 101 <colspec colnum="1" colwidth="2.5in" colname="Float Type"/> 102 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/> 103 104 <thead> 105 <row> 106 <entry>Float Type</entry> 107 <entry>Triplet</entry> 108 </row> 109 </thead> 110 111 <tbody> 112 <row> 113 <entry>soft</entry> 114 <entry>arm-linux-musleabi</entry> 115 </row> 116 <row> 117 <entry>hard or softfp</entry> 118 <entry>arm-linux-musleabihf</entry> 119 </row> 120 </tbody> 121 122 </tgroup> 123 124 </table> 125 126 <para os="c">Now set the architecture of the CPU:</para> 127 128 <screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen> 129 130 <para os="e">Choose the ARM architecture (see table below):</para> 131 132 <screen os="f"><userinput>export CLFS_ARM_ARCH="<replaceable>[architecture]</replaceable>"</userinput></screen> 133 134 <table os="j"> 135 <title>ARM Archiecture Choices</title> 136 <?dbfo table-width="4in" ?> 137 138 <tgroup cols="4"> 139 140 <colspec colnum="1" colwidth="1in" colname="Arch Choice"/> 141 <colspec colnum="2" colwidth="1in" colname="Arch Choice"/> 142 <colspec colnum="3" colwidth="1in" colname="Arch Choice"/> 143 <colspec colnum="4" colwidth="1in" colname="Arch Choice"/> 144 145 <tbody> 146 <row> 147 <entry>armv4t</entry> 148 <entry>armv5</entry> 149 <entry>armv5t</entry> 150 <entry>armv5te</entry> 151 </row> 152 <row> 153 <entry>armv6</entry> 154 <entry>armv6j</entry> 155 <entry>armv6t2</entry> 156 <entry>armv6z</entry> 157 </row> 158 <row> 159 <entry>armv6zk</entry> 160 <entry>armv6-m</entry> 161 <entry>armv7</entry> 162 <entry>armv7-a</entry> 163 </row> 164 <row> 165 <entry>armv7-r</entry> 166 <entry>armv7-m</entry> 167 </row> 168 </tbody> 169 </tgroup> 170 </table> 171 181 172 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 182 173 href="../common/variables.xml"
Note:
See TracChangeset
for help on using the changeset viewer.