Subversion Repositories svn LFS-FR

Rev

Blame | Last modification | View Log | RSS feed

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

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

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

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

    <para>CLooG-PPL is a library to generate code for scanning Z-polyhedra.
    In other words, it finds code that reaches each integral point of one or
    more parameterized polyhedra.  GCC links with this library in order to
    enable the new loop generation code known as Graphite.</para>

  </sect2>

  &env-target;

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

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

<screen os="b"><userinput>LDFLAGS="-Wl,-rpath-link,${CLFS}/cross-tools/${CLFS_TARGET}/lib" \
    ./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --prefix=/usr --enable-shared \
    --with-gmp --with-ppl</userinput></screen>

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

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

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

<screen os="i"><userinput>make DESTDIR=${CLFS} install</userinput></screen>

    <para os="g">At this time, Libtool does not support searching a sysroot
    for libraries. Leaving the .la files in place will cause Libtool to look
    in the wrong place for libraries. These files are not required for
    linking on Linux. Remove them with the following command:</para>

<screen os="h"><userinput>rm -v ${CLFS}/usr/lib/libcloog.la</userinput></screen>

  </sect2>

  <sect2 id="contents-cloog-ppl" role="content">
    <title>Contents of CLooG-PPL</title>

    <segmentedlist>
      <segtitle>Installed Libraries</segtitle>

      <seglistitem>
        <seg>libcloog.[a,so]</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="cloog">
        <term><command>cloog</command></term>
        <listitem>
          <para>Loop generator for scanning Z-polyhedra</para>
          <indexterm zone="ch-system-cloog-ppl cloog">
            <primary sortas="b-cloog">cloog</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libcloog">
        <term><filename class="libraryfile">libcloog</filename></term>
        <listitem>
          <para>The Chunky Loop Generator.</para>
          <indexterm zone="ch-system-cloog-ppl libcloog">
            <primary sortas="b-libcloog-ppl">libcloog</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>