首页 > 其他 > 详细

Cross compiling coreutils and generate the manpages

时间:2015-07-02 19:31:33      阅读:103      评论:0      收藏:0      [点我收藏+]

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:
http://distfiles.gentoo.org/distfiles/coreutils-8.23-man.tar.xz

Usage:

tar xf coreutils-8.23.tar.xz
tar xf coreutils-8.23-man.tar.xz
#configure && make && make install

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

set -- man/*.x
touch ${@/%x/1}

Ref:
http://lists.gnu.org/archive/html/coreutils/2014-11/msg00003.html

版权声明:本文为博主原创文章,未经博主允许不得转载。

Cross compiling coreutils and generate the manpages

原文:http://blog.csdn.net/stpallas/article/details/46729119

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!