6.10. Findutils-4.2.29

The Findutils package contains programs to find files. These programs are provided to recursively search through a directory tree and to create, maintain, and search a database (often faster than the recursive find, but unreliable if the database has not been recently updated).

6.10.1. Installation of Findutils

Findutils has an issue with cross-compiling where it can't find getline. Fix it here:

echo "am_cv_func_working_getline=yes" >> config.cache

Prepare Findutils for compilation:

CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
   --build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache

Compile the package:


Install the package:

make install

Details on this package are located in Section 10.44.2, “Contents of Findutils.”