天嵌 ARM开发社区

 找回密码
 注册
查看: 2122|回复: 0

移植gettext./configure错误

[复制链接]
kangva 发表于 2013-4-26 09:54:45 | 显示全部楼层 |阅读模式
搞过移植的大牛帮下忙
我用的 Ununtu10.04,交叉编译工具:arm-none-linux-gnueabi-gcc-4.3.3
下载了gettext-0.18.2.
想用交叉编译工具进行编译(gcc已经编译通过了)。设置环境变量:
./configure --prefix=/opt/gettext_install CC=arm-none-linux-gnueabi-gcc-4.3.3
可是运行时说:

checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/ma/GTK2.0/gettext-net/gettext-0.18.2/gettext-runtime':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
configure: error: ./configure failed for gettext-runtime

这是怎么回事呢?上面说“If you meant to cross compile, use `--host'.”
是不是要加参数 --host? --host要设为什么?我是用TQ2440的板子,--host=arm 还是 --host=arm-linux

请大牛给与指点。

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-27 21:30 , Processed in 1.031290 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表