source: clfs-embedded/BOOK/cross-tools/arm/variables.xml@ 8a7de9f

Last change on this file since 8a7de9f was 885ee0e, checked in by Andrew Bradford <bradfa@…>, 14 years ago

Changed ARM triplets: uclibcgnueabi to uclibceabi

It does the same thing and makes the table smaller.
Either arm*-*-linux-uclibcgnueabi or arm*-*-linux-uclibceabi are valid
and set the same options for configuring GCC.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-cross-tools-variables">
9 <?dbhtml filename="variables.html"?>
10
11 <title>Build Variables</title>
12
13 <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
14
15 <para os="a">During the building of the cross-compile tools you will need to
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 and CPU
18 endianess. If you do not know what triplet or endianess you want,
19 you can use the table at the bottom of this page as a reference. Set
20 the command using the method listed below:</para>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="../common/variables.xml"
24 xpointer="xpointer(//*[@os='b'])"/>
25
26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../common/variables.xml"
28 xpointer="xpointer(//*[@os='c'])"/>
29
30<screen os="d"><userinput>export CLFS_ARCH=arm
31export CLFS_ENDIAN=<replaceable>[endianess]</replaceable></userinput></screen>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../common/variables.xml"
35 xpointer="xpointer(//*[@os='g'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../common/variables.xml"
39 xpointer="xpointer(//*[@os='h'])"/>
40
41 <table os="i">
42 <title>Processor Type, ABI, and Target Triplets</title>
43 <?dbfo table-width="7in" ?>
44
45 <tgroup cols="2">
46
47 <colspec colnum="1" colwidth="2.5in" colname="Processor"/>
48 <colspec colnum="2" colwidth="1in" colname="Endian"/>
49 <colspec colnum="3" colwidth="1in" colname="ABI"/>
50 <colspec colnum="4" colwidth="2.5in" colname="Triplet"/>
51
52 <thead>
53 <row>
54 <entry>Processor</entry>
55 <entry>Endian</entry>
56 <entry>ABI</entry>
57 <entry>Target Triplet</entry>
58 </row>
59 </thead>
60
61 <tbody>
62 <row>
63 <entry>Generic arm</entry>
64 <entry>little</entry>
65 <entry>OABI</entry>
66 <entry>arm-unknown-linux-uclibc</entry>
67 </row>
68 <row>
69 <entry>Generic arm, version 4</entry>
70 <entry>little</entry>
71 <entry>OABI</entry>
72 <entry>armv4-unknown-linux-uclibc</entry>
73 </row>
74 <row>
75 <entry>Generic arm, version 5</entry>
76 <entry>little</entry>
77 <entry>EABI</entry>
78 <entry>armv5l-unknown-linux-uclibceabi</entry>
79 </row>
80 <row>
81 <entry>Generic arm, version 5</entry>
82 <entry>big</entry>
83 <entry>EABI</entry>
84 <entry>armv5b-unknown-linux-uclibceabi</entry>
85 </row>
86 <row>
87 <entry>Generic arm</entry>
88 <entry>little</entry>
89 <entry>EABI</entry>
90 <entry>arm-unknown-linux-uclibceabi</entry>
91 </row>
92 <row>
93 <entry>Generic arm, version 7-a </entry>
94 <entry>little</entry>
95 <entry>EABI</entry>
96 <entry>armv7a-unknown-linux-uclibceabi</entry>
97 </row>
98 </tbody>
99
100 </tgroup>
101
102 </table>
103
104</sect1>
Note: See TracBrowser for help on using the repository browser.