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

<sect1 id="ch-temp-system-gmp" role="wrap">
  <?dbhtml filename="gmp.html"?>

  <title>GMP-&gmp-version;</title>

  <indexterm zone="ch-temp-system-gmp">
    <primary sortas="a-GMP">GMP</primary>
    <secondary>temporary system</secondary>
  </indexterm>

  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  href="../../final-system/common/gmp.xml"
  xpointer="xpointer(//*[@role='package'])"/>

  <sect2 role="installation">
    <title>Installation of GMP</title>

<!--
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/gmp.xml"
    xpointer="xpointer(//*[@os='p1'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/gmp.xml"
    xpointer="xpointer(//*[@os='p2'])"/>

-->
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/gmp.xml"
    xpointer="xpointer(//*[@os='a'])"/>

<screen os="b"><userinput>CC_FOR_BUILD=gcc CC="${CC} \
    ${BUILD64}" CXX="${CXX} ${BUILD64}" ./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --libdir=/tools/lib64 --enable-cxx</userinput></screen>

    <variablelist os="ba">
      <title>The meaning of the new configure option:</title>

      <varlistentry>
        <term><parameter>CC="${CC} ${BUILD64}"</parameter></term>
        <listitem>
          <para>Tells the compiler to use our 64-bit build flags.</para>
        </listitem>
      </varlistentry>

    </variablelist>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/gmp.xml"
    xpointer="xpointer(//*[@os='c'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/gmp.xml"
    xpointer="xpointer(//*[@os='d'])"/>

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

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/gmp.xml"
    xpointer="xpointer(//*[@os='f'])"/>

  </sect2>

  <sect2 role="content">
    <title/>

    <para>Details on this package are located in <xref
    linkend="contents-gmp" role="."/></para>

  </sect2>

</sect1>
