6.10. Findutils-4.2.27

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc2-MIPS

### Chapter 6. Constructing a Temporary System

- Prev

  Diffutils-2.8.7

- Next

  Gawk-3.1.5

- Up.
- Home

# 6.10. Findutils-4.2.27

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:

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

Compile the package:

    make

Install the package:

    make install

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

- Prev

  Diffutils-2.8.7

- Next

  Gawk-3.1.5

- Up.
- Home.