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

Last change on this file since 128e9a4 was 128905d, checked in by Jim Gifford <clfs@…>, 16 years ago

Fix Validation Errors

  • 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="../mips/variables.xml"
31 xpointer="xpointer(//*[@os='e1'])"/>
32
33<screen os="e2"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/armeb/BIG/' -e 's/arm/LITTLE/'</userinput></screen>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../x86/variables.xml"
37 xpointer="xpointer(//*[@os='e'])"/>
38
39<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
40echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
41echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" &gt;&gt; ~/.bashrc</userinput></screen>
42
43 <table os="g">
44 <title>Processor Type and Target Triplets</title>
45 <?dbfo table-width="5in" ?>
46
47 <tgroup cols="2">
48
49 <colspec colnum="1" colwidth="2.5in" colname="Processor"/>
50 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/>
51
52 <thead>
53 <row>
54 <entry>Processor</entry>
55 <entry>Target Triplet</entry>
56 </row>
57 </thead>
58
59 <tbody>
60 <row>
61 <entry>Generic arm, little endian</entry>
62 <entry>arm-unknown-linux-uclibc</entry>
63 </row>
64 <row>
65 <entry>Generic arm, version 5, little endian</entry>
66 <entry>armv5l-unknown-linux-uclibc</entry>
67 </row>
68 <row>
69 <entry>Generic arm, version 5, big endian</entry>
70 <entry>armv5b-unknown-linux-uclibc</entry>
71 </row>
72 </tbody>
73
74 </tgroup>
75
76 </table>
77
78</sect1>
Note: See TracBrowser for help on using the repository browser.