这两个个贴子里提到用64位系统编译32位程序
http://blog.chinaunix.net/uid-16974460-id-295999.html
http://www.linuxdiyf.com/viewarticle.php?id=109006
请问如何在64位环境下编译armhf程序?
ubuntu13.04系统要安装什么兼容包??用arm系统编译太慢了
如何在64位环境下编译armhf的deb包?
-
- 帖子: 12
- 注册时间: 2011-05-10 12:58
-
- 帖子: 69
- 注册时间: 2007-02-11 15:58
Re: 如何在64位环境下编译armhf的deb包?
目前我也在关注交叉制作debian的arm包的问题
http://www.cnx-software.com/2012/05/02/ ... in-ubuntu/
https://wiki.debian.org/Multiarch/HOWTO
https://wiki.linaro.org/Platform/DevPla ... gMultiArch
https://wiki.debian.org/BuildingCrossCompilers
目前正在试 xdeb的方式,不过编译完后检测阶段提示 少了perl的模块错误,使用
CROSS_COMPILE=arm-linux-gnueabihf- dpkg-buildpackage -b -aarmel 来构建像zlib包是成功的
http://www.cnx-software.com/2012/05/02/ ... in-ubuntu/
https://wiki.debian.org/Multiarch/HOWTO
https://wiki.linaro.org/Platform/DevPla ... gMultiArch
https://wiki.debian.org/BuildingCrossCompilers
目前正在试 xdeb的方式,不过编译完后检测阶段提示 少了perl的模块错误,使用
CROSS_COMPILE=arm-linux-gnueabihf- dpkg-buildpackage -b -aarmel 来构建像zlib包是成功的
-
- 帖子: 69
- 注册时间: 2007-02-11 15:58
Re: 如何在64位环境下编译armhf的deb包?
代码: 全选
dpkg-buildpackage: binary only upload (no source included)
Built packages: zlib1g_1.2.7.dfsg-13_armhf.deb zlib1g-dev_1.2.7.dfsg-13_armhf.deb zlib1g-dbg_1.2.7.dfsg-13_armhf.deb zlib-bin_1.2.7.dfsg-13_armhf.deb
lintian -C xdeb -o zlib_1.2.7.dfsg-13_armhf.changes
warning: the authors of lintian do not recommend running it with root privileges!
Can't locate Util.pm in @INC (@INC contains: /usr/share/lintian/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14
/usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/lintian/checks/xdeb line 28.
BEGIN failed--compilation aborted at /usr/share/lintian/checks/xdeb line 28.
Compilation failed in require at /usr/bin/lintian line 1919.
cannot remove path when cwd is /tmp/temp-lintian-lab-SKjJMr6YVf/pool/z/zlib/zlib-bin_1_1.2.7.dfsg-13_armhf_binary for /tmp/temp-lintian-lab-SKjJMr6YVf: at /usr/share/perl/5.14/File/Te
mp.pm line 902
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708787
代码: 全选
$ dpkg -S /usr/share/lintian/checks/xdeb
xdeb: /usr/share/lintian/checks/xdeb
I can fix the error by manually editing line 28 like this:
-use Util;
+use Lintian::Util;
-
- 帖子: 3173
- 注册时间: 2010-01-13 23:26