- Timestamp:
- Oct 14, 2013, 8:57:24 AM (11 years ago)
- Branches:
- master
- Children:
- 54fde8f
- Parents:
- 91f1994
- git-author:
- Andrew Bradford <andrew@…> (10/10/13 12:03:46)
- git-committer:
- Andrew Bradford <andrew@…> (10/14/13 08:57:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/variables.xml
r91f1994 ra5cbaf25 21 21 tables at the bottom of this page as a reference.</para> 22 22 23 <para os="a1">Most ARM processors are little endian, it is a safe choice. 24 If your processor is an ARM9, good choices include: triplet of 25 armv5l-unknown-linux-uclibeabi, ARM arch of armv5t, float of softfp, and fpu 26 of either none or softvfp. ARM9 processors do not always have hardware 27 floating point abilities. If your processor is a Cortex-A8 or Cortex-A9, good 28 choices include: triplet of armv7a-unknown-linux-uclibceabi, ARM arch of 29 armv7-a, float of hard, and fpu of vfpv3-d16.</para> 23 <para os="a1">Most ARM processors are little endian, it is a safe choice. If 24 your processor is an ARM9, good choices include: triplet of 25 armv5l-unknown-linux-uclibeabi, ARM arch of armv5t, and float of soft. ARM9 26 processors do not usually have hardware floating point abilities. If your 27 processor is a Cortex-A series, which often have hardware floating point 28 capability, good choices include: triplet of 29 armv7a-unknown-linux-uclibceabi, ARM arch of armv7-a, float of hard, and fpu 30 of vfpv3-d16.</para> 30 31 31 32 <para os="a2">First, set the host and target triplets:</para> … … 48 49 export CLFS_ARM_MODE="<replaceable>[arm or thumb]</replaceable>"</userinput></screen> 49 50 50 <para os="f1">If your target CPU has hard floating point support (not all ARM 51 CPUs do), set the following CLFS_FLOAT variable to either "hard" or "softfp". 52 If your target CPU does not have hard floating point support, set the following 53 CLFS_FLOAT vairable to "soft".</para> 51 <para os="f1">If your target CPU has hardware floating point support (not all 52 ARM CPUs do), then set the following CLFS_FLOAT variable to either "hard" or 53 "softfp". Use "softfp" if you need to integrate binaries compiled with 54 "soft". Use "hard" if you don't. If your target CPU does not have hard 55 floating point support, set the following CLFS_FLOAT vairable to 56 "soft".</para> 54 57 55 58 <screen os="f2"><userinput>export CLFS_FLOAT="<replaceable>[hard, softfp, or soft]"</replaceable></userinput></screen> … … 201 204 <row> 202 205 <entry>neon-vfpv4</entry> 203 <entry>softvfp</entry>204 <entry>none</entry>205 206 </row> 206 207 </tbody>
Note:
See TracChangeset
for help on using the changeset viewer.