LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1069|回复: 0

CLFS-sysroot0.0.1:::为ARM做交叉工具链:gcc4.2.1编译(Final)出错,提示缺少Pthreads

[复制链接]
发表于 2007-10-14 17:51:53 | 显示全部楼层 |阅读模式
一下是编译时的部分输出信息:
........................(some information)
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in gstdint.h... stdint.h (already complete)
configure: error: Pthreads are required to build libgomp
make[1]: *** [configure-target-libgomp] 错误1
make[1]: Leaving directory
`/mnt/clfs/ARM-cross-compiler/sbc2440/builddir-v1.0/gcc-build'
make: *** [all] 错误 2

我的配置选项是这样的:

../gcc-4.2.1/configure --target=$TARGET --prefix=${PREFIX}
--disable-multilib --disable-nls --enable-shared --enable-__cxa_atexit
--enable-c99 --enable-long-long --enable-threads=posix
--enable-languages=c,c++ --host=i686-pc-linux-gnu

这里 $TARGET=arm-linux,

主机是 i686pc.

哪位大哥帮忙看看是怎么回事,谢谢!不知道pthread支持是怎么搞的,也不知道ARM上目前
支不支持。

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

本版积分规则

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