CLFS-sysroot0.0.1:::为ARM做交叉工具链:gcc4.2.1编译(Final)出错,提示缺少Pthreads支持!
时间:2007-10-14
来源:互联网
一下是编译时的部分输出信息:
........................(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上目前
支不支持。
谢谢!
........................(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上目前
支不支持。
谢谢!
作者: dangbinghoo 发布时间: 2007-10-14
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28