%general-entities; ]> Coreutils-&coreutils-version; Coreutils temporary system Installation of Coreutils Coreutils attempts to use the install program it just built to perform the install. This will not work if the target architecture is incompatible with the host architecture. The following command causes the Makefile to use the host's install to perform the install: cp -v src/Makefile.in{,.orig} sed -e "/binPROGRAMS_INSTALL=/s:./ginstall:install:" src/Makefile.in.orig > src/Makefile.in Configure can not properly determine how to get free space when cross-compiling - as a result, the df program will not be built. Add the following entry to config.cache to correct this: echo "fu_cv_sys_stat_statfs2_bsize=yes" > config.cache Prepare Coreutils for compilation: ./configure --prefix=/tools \ --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --cache-file=config.cache Compile the package: make Install the package: make install <para>Details on this package are located in <xref linkend="contents-coreutils" role="."/></para> </sect2> </sect1>