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

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

Fix Validation Errors

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[ad36f39]1<?xml version="1.0" encoding="ISO-8859-1"?>
[bd48e48]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[ad36f39]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"
[5b4806a]21 xpointer="xpointer(//*[@os='b'])"/>
[ad36f39]22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../x86/variables.xml"
[5b4806a]25 xpointer="xpointer(//*[@os='c'])"/>
[ad36f39]26
[6533111]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"
[128905d]30 href="../mips/variables.xml"
[6533111]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
[5b4806a]35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../x86/variables.xml"
[6533111]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>
[ad36f39]42
[6533111]43 <table os="g">
[ad36f39]44 <title>Processor Type and Target Triplets</title>
[3ca2208]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
[ad36f39]52 <thead>
53 <row>
54 <entry>Processor</entry>
55 <entry>Target Triplet</entry>
56 </row>
57 </thead>
[3ca2208]58
[ad36f39]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>
[3ca2208]73
[ad36f39]74 </tgroup>
[3ca2208]75
[ad36f39]76 </table>
77
78</sect1>
Note: See TracBrowser for help on using the repository browser.