Glib在arm-linux下的交叉编译
来源:互联网 发布:js 对象转字符串 编辑:程序博客网 时间:2024/05/17 18:18
glib简介:http://www.cnblogs.com/wangkangluo1/archive/2011/07/10/2102178.html
glib下载:http://ftp.gnome.org/pub/gnome/sources/glib/2.32/
1、设置配置的变量
#echo ac_cv_type_long_long=yes>arm-linux.cache
#echo glib_cv_stack_grows=no>>arm-linux.cache
# echo glib_cv_uscore=no>>arm-linux.cache
# echo ac_cv_func_posix_getpwuid_r=yes>>arm-linux.cache
# echo ac_cv_func_posix_getgrgid_r=yes>>arm-linux.cache(选择性加上此句)
这些参数说明:http://gtk-doc-cn.googlecode.com/svn/docs/glib/glib-cross-compiling.html
2、配置configure:
# CC=所要用到的交叉编译器 ./configure --host=arm-linux --prefix=$ROOTFS_DIR/usr --cache-file=$ARCH-linux.cache
3、make && make install
# make && make install
找不到glib-compile-schemas错误:
http://blog.csdn.net/myaccella/article/details/7298014
很多错误原因分析:
http://wenku.baidu.com/view/c9e7cbd6360cba1aa811da9f.html
configure: error: cannot run test program while cross compiling:
- Glib在arm-linux下的交叉编译
- arm下交叉编译glib-2.28.8
- php5在arm-linux下的交叉编译步骤
- linphone在ARM-Linux下的交叉编译
- 交叉编译场景分析(arm-linux)(八)--编译glib
- 交叉编译场景分析(arm-linux)(八)--编译glib
- 交叉编译场景分析(arm-linux)(八)--编译glib
- 交叉编译场景分析(arm-linux)(八)--编译glib
- 交叉编译场景分析(arm-linux)(八)--编译glib
- 交叉编译场景分析(arm-linux)(八)--编译glib
- 交叉编译场景分析(arm-linux)(八)--编译glib
- openssl 在arm下的 交叉编译
- openssl在arm下的交叉编译
- live555在arm linux下的交叉编译,并下载的Arm板播放H264文件
- live555在arm linux下的交叉编译,并下载的Arm板播放H264文件
- 在 Fedora 下建立 ARM-Linux 交叉编译环境
- 在 Fedora 下建立 ARM-Linux 交叉编译环境
- 在Ubuntu10.10下安装arm-linux交叉编译环境
- 关于新浪微博注销后自动登录的问题
- 什么是线程安全性
- Android 4.1 systrace使用方法(一)
- 在windows环境下搭建go编程环境
- ACM必备(学完一个就加亮一个)不多,就这些!
- Glib在arm-linux下的交叉编译
- 有一种设计模式叫回调
- ActionBar的详细使用
- 求1000以内所有偶数的和
- 复选框实现单选
- mybatis动态sql
- Spring.Net+Nhibernate+ASP.MVC4.0+EasyUI实践(三)
- 构造函数调用几次
- 通过 Named Pipe 实现进程间通讯