Cross compiling coreutils and generate the manpages

When we cross compiling coreutils, there is an problem of generating man pages, because the source script use the binaries generated by make process to produce man pages, but the cross compiled binaries cannot run on build machine.

In order to resolve this problem, we should compile the coreutils using native compiler, and generate the man pages, then copy the man pages (.x .1) to the cross compiling source directory, and restart the make process.

prebuilt man info source tarball:

Usage:

tar xf coreutils-tar xf coreutils-

If that still fails, after you unpack both, try doing:

set — man/*.xtouch ${@/%x/1}

Ref:

,我等你用尽了所有的哀伤;而你眼中却有我所不懂的凄凉。

Cross compiling coreutils and generate the manpages

相关文章:

你感兴趣的文章:

标签云: