<?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-cloog" role="wrap">
  <?dbhtml filename="cloog.html"?>

  <title>CLooG-&cloog-version;</title>

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

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

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

    <para os="a">Prepare CLooG for compilation:</para>

<screen os="b"><userinput>./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --with-isl=system</userinput></screen>

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

      <varlistentry>
        <term><parameter>--with-isl=system</parameter></term>
        <listitem>
          <para>This ensures that CLooG will use the version of Isl that was
          just installed into <filename class="directory">/tools</filename>,
         rather than the copy in its own source tree.</para>
        </listitem>
      </varlistentry>

    </variablelist>

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

<screen os="s2"><userinput>cp -v Makefile{,.orig}
sed '/cmake/d' Makefile.orig &gt; Makefile</userinput></screen>

    <para os="c">Compile the package:</para>

<screen os="d"><userinput>make</userinput></screen>

    <para os="e">Install the package:</para>

<screen os="f"><userinput>make install</userinput></screen>

  </sect2>

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

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

  </sect2>

</sect1>
