%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: sed -i "/binPROGRAMS_INSTALL=/s:./ginstall:install:" 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 When we changed the futimens references, one of the files we updated was touch.c. That change means the man Makefile will try to regenerate the man page for touch, by executing the compiled touch program. If the target architecture cannot be executed by the host system, the build will fail. The following command fixes this by giving the man page a newer timestamp than its corresponding source file: touch man/touch.1 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>