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

Last change on this file since 6d1c66e was 0dad5b9, checked in by Jim Gifford <clfs@…>, 16 years ago

uClibc Updates

  • 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
[0dad5b9]27<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/arm.*/arm/g')</userinput></screen>
[6533111]28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[0dad5b9]30 href="../x86/variables.xml"
31 xpointer="xpointer(//*[@os='e'])"/>
[6533111]32
[0dad5b9]33<screen os="f"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | 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>
[6533111]39
[5b4806a]40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../x86/variables.xml"
[0dad5b9]42 xpointer="xpointer(//*[@os='g'])"/>
[6533111]43
[0dad5b9]44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../x86/variables.xml"
46 xpointer="xpointer(//*[@os='h'])"/>
[ad36f39]47
[0dad5b9]48 <table os="i">
[ad36f39]49 <title>Processor Type and Target Triplets</title>
[3ca2208]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
[ad36f39]57 <thead>
58 <row>
59 <entry>Processor</entry>
60 <entry>Target Triplet</entry>
61 </row>
62 </thead>
[3ca2208]63
[ad36f39]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>
[3ca2208]78
[ad36f39]79 </tgroup>
[3ca2208]80
[ad36f39]81 </table>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.