[8672967] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[8672967] | 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 |
|
---|
[7030b60] | 23 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 24 | href="../x86/variables.xml"
|
---|
| 25 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
[8672967] | 26 |
|
---|
[2fb18533] | 27 | <screen os="d"><userinput>export CLFS_TARGET="x86_64-clfs-linux-gnu"</userinput></screen>
|
---|
[8672967] | 28 |
|
---|
| 29 | <para os="m1">Now we will set our Target Triplet for 32 Bits:</para>
|
---|
| 30 |
|
---|
[2fb18533] | 31 | <screen os="m2"><userinput>export CLFS_TARGET32="i686-clfs-linux-gnu"</userinput></screen>
|
---|
[8672967] | 32 |
|
---|
| 33 | <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
|
---|
| 34 |
|
---|
| 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 36 | href="../x86/variables.xml"
|
---|
| 37 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 38 |
|
---|
[07114c98] | 39 | <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
|
---|
| 40 | echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
|
---|
| 41 | echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" >> ~/.bashrc</userinput></screen>
|
---|
[8672967] | 42 |
|
---|
| 43 | </sect1>
|
---|