9.4. File-4.17

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

9.4.1. Installation of file

This patch updates config.guess and config.sub for MIPS processors:

patch -Np1 -i ../file-4.17-config_update-1.patch

Prepare File for compilation:

./configure --prefix=/tools

Compile the package:

make

This package does not come with a test suite.

Install the package:

make install

Now we create a symlink so that the GCC testsuite can use file:

ln -sv /tools/bin/file /usr/bin

Details on this package are located in Section 10.30.2, “Contents of File.”