您的位置:首页 > 其它

ARM交叉编译boost 1.54.0

2013-09-27 15:27 411 查看
步骤如下: 

1 在boost根目录运行./bootstrap.sh(如有必要仅配置需使用的库)

./booststrap.sh --show-libraries 显示所有的库

./booststrap.sh --with=system,thread 指定需要编译的库(用逗号分隔)

2 ./tools/build/v2/user-config.jam 增加以下内容:

using gcc : arm : /opt/crosstool/arm-none-linux-gnueabi-4.4.0_ARMv5TE/bin/arm-none-linux-gnueabi-g++ ;

红色为交叉编译器的实际目录

3 在boost根目录运行./b2

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: