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="../native/variables.xml" |
---|
17 | xpointer="xpointer(//*[@os='a'])"/> |
---|
18 | |
---|
19 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
20 | href="../native/variables.xml" |
---|
21 | xpointer="xpointer(//*[@os='b'])"/> |
---|
22 | |
---|
23 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
24 | href="../native/variables.xml" |
---|
25 | xpointer="xpointer(//*[@os='c'])"/> |
---|
26 | |
---|
27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
28 | href="../native/variables.xml" |
---|
29 | xpointer="xpointer(//*[@os='d'])"/> |
---|
30 | |
---|
31 | <para os="e">Now we will set our Target Triplet for 32 Bits:</para> |
---|
32 | |
---|
33 | <para os="f">For x86_64 use:</para> |
---|
34 | |
---|
35 | <screen os="g"><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen> |
---|
36 | |
---|
37 | <para os="h">For Power PC use:</para> |
---|
38 | |
---|
39 | <screen os="i"><userinput>export CLFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen> |
---|
40 | |
---|
41 | <para os="j">For Sparc use:</para> |
---|
42 | |
---|
43 | <screen os="k"><userinput>export CLFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen> |
---|
44 | |
---|
45 | <para os="l">For all others consult the CLFS Book for the appropriate |
---|
46 | architecture, in Chapter 5.</para> |
---|
47 | |
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
49 | href="../x86/variables.xml" |
---|
50 | xpointer="xpointer(//*[@os='e'])"/> |
---|
51 | |
---|
52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
53 | href="../x86_64/variables.xml" |
---|
54 | xpointer="xpointer(//*[@os='f'])"/> |
---|
55 | |
---|
56 | </sect1> |
---|