Details on this package are located in Section 10.13.2, “Contents of Coreutils.”
The Coreutils package contains utilities for showing and setting the basic system characteristics.
Coreutils has some issues when cross-compiling. So we define the items cross-compiling doesn't like:
echo "ac_cv_func_setvbuf_reversed=yes" >> config.cache
Prepare Coreutils for compilation:
./configure --prefix=/tools --cache-file=config.cache \
--build=${CLFS_HOST} --host=${CLFS_TARGET}
The following command creates a dummy uname.1. This is needed because the creation of man pages for Coreutils now requires help2man:
touch man/uname.1
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.13.2, “Contents of Coreutils.”