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

Last change on this file since bbf155c was 2804a96, checked in by Jim Gifford <clfs@…>, 16 years ago

Updates - Endian Check - GCC and Binutils Patch Updates

  • Property mode set to 100644
File size: 2.4 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 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
16 href="../x86/variables.xml"
17 xpointer="xpointer(//*[@os='a'])"/>
18
19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
20 href="../x86/variables.xml"
21 xpointer="xpointer(//*[@os='b'])"/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../x86/variables.xml"
25 xpointer="xpointer(//*[@os='c'])"/>
26
27<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/arm.*/arm/g')</userinput></screen>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../x86/variables.xml"
31 xpointer="xpointer(//*[@os='e'])"/>
32
33<screen os="f"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_ARCH} | sed -e 's/armeb/BIG/' -e 's/arm/LITTLE/')
34if [ "${CLFS_ENDIAN}" = "LITTLE" ]; then
35 export CLFS_NOT_ENDIAN=BIG
36else
37 export CLFS_NOT_ENDIAN=LITTLE
38fi</userinput></screen>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../x86/variables.xml"
42 xpointer="xpointer(//*[@os='g'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../x86/variables.xml"
46 xpointer="xpointer(//*[@os='h'])"/>
47
48 <table os="i">
49 <title>Processor Type and Target Triplets</title>
50 <?dbfo table-width="5in" ?>
51
52 <tgroup cols="2">
53
54 <colspec colnum="1" colwidth="2.5in" colname="Processor"/>
55 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/>
56
57 <thead>
58 <row>
59 <entry>Processor</entry>
60 <entry>Target Triplet</entry>
61 </row>
62 </thead>
63
64 <tbody>
65 <row>
66 <entry>Generic arm, little endian</entry>
67 <entry>arm-unknown-linux-uclibc</entry>
68 </row>
69 <row>
70 <entry>Generic arm, version 5, little endian</entry>
71 <entry>armv5l-unknown-linux-uclibc</entry>
72 </row>
73 <row>
74 <entry>Generic arm, version 5, big endian</entry>
75 <entry>armv5b-unknown-linux-uclibc</entry>
76 </row>
77 </tbody>
78
79 </tgroup>
80
81 </table>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.