<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-cross-tools-variables">
  <?dbhtml filename="variables.html"?>

  <title>Build Variables</title>

  <bridgehead renderas="sect4">Setting Host and Target</bridgehead>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../x86/variables.xml"
    xpointer="xpointer(//*[@os='a'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../x86/variables.xml"
    xpointer="xpointer(//*[@os='b'])"/>

  <para os="c">Now we will set our Target Triplet:</para>

<screen os="d"><userinput>export CLFS_TARGET="x86_64-unknown-linux-gnu"</userinput></screen>

  <para os="m1">Now we will set our Target Triplet for 32 Bits:</para>

<screen os="m2"><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>

  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../x86/variables.xml"
    xpointer="xpointer(//*[@os='e'])"/>

<screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bashrc</userinput></screen>

</sect1>
