Cross compile problem: cannot run test program while cross compiling
2015-06-27 01:43
435 查看
We have to modify the configure.ac or configure.in file and delete the check which is causing problems. Cross compiling with autoconf is pretty tricky and usually needs some tweaking of the config files or makefiles to work.
or we can echo variant into .cache file, such as:
and then run configure as:
/article/1670054.html
or we can echo variant into .cache file, such as:
echo ac_cv_type_long_long=yes>$ARCH-linux.cache
and then run configure as:
./configure --host=$ARCH-linux --prefix=$ROOTFS_DIR/usr --cache-file=$ARCH-linux.cache
/article/1670054.html
相关文章推荐
- 第四章作业4.21
- KVO、通知、代理、block
- 正则表达式精华(包涵常用经典方法)
- Android中ListView的几种常见的优化方法
- 使用Volley解析json
- drupal drupal drupal 你家养的猪娃跑了
- Django用自定义cookies 实现登录,注册,退出
- Android的EditText字数检测和限制
- CentOS 6.x 内核升级(2.6.32 -> 3.10.58)过程记录
- 上门洗车APP --- Android客户端开发 之 网络框架封装介绍(二)
- Composer PHP依赖管理的新时代
- Struts2 Hibernate Integration Example Tutorial
- #leetcode#Distinct Subsequences
- 【POJ 1125】Stockbroker Grapevine
- 一个有趣的swap函数
- Android中dp和px之间进行转换
- onkeyup,onkeydown和onkeypress
- C#编写Windows服务程序图文教程
- Best MVC Practices(最优的MVC布局)
- POJ 3268 Silver Cow Party 最短路 基础题