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

  <title>File-&file-version;</title>

  <indexterm zone="ch-testsuite-tools-file">
    <primary sortas="a-File">File</primary>
  </indexterm>

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

    <para>The File package contains a utility for determining the type of
    a given file or files.</para>

  </sect2>

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

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

<screen os="b"><userinput>./configure --prefix=/tools</userinput></screen>

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

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

    <para os="e">This package does not come with a test suite.</para>

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

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

    <para os="h">Now we create a symlink so that the GCC testsuite
    can use <command>file</command>:</para>

<screen os="i"><userinput>ln -sv /tools/bin/file /usr/bin</userinput></screen>

  </sect2>

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

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

  </sect2>

</sect1>
