Details on this package are located in Section 10.28.2, “Contents of File.”
The File package contains a utility for determining the type of a given file or files.
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.28.2, “Contents of File.”