5.7. File-5.18

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

5.7.1. Installation of File

Here we install a native file program that can run on the host system, as this program is needed by Binutils.

Prepare File for compilation:

./configure --prefix=/cross-tools --disable-static

The meaning of the new configure option:

--disable-static

This tells the File package not to compile or install static libraries, which are not needed for the Cross-Tools

Compile the package:

make

Install the package:

make install

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