编译boost 1.58.0 for arm-linux
2016-09-02 15:03
671 查看
下载boost 1.58.0
解压缩
运行booststrap.sh,运行后,生产project-config.jam和bjam
修改project-config.jam文件,如下
# Boost.Build Configuration
# Automatically generated by bootstrap.sh
import option ;
import feature ;
# Compiler configuration. This definition will be used unless
# you already have defined some toolsets in your user-config.jam
# file.
if ! gcc in [ feature.values <toolset> ]
{
using gcc : : /home/xxxxxx/arm/3.4.1/bin/arm-linux-gcc ;
}
project : default-build <toolset>gcc ;
# Python configuration
using python : 2.7 : /usr ;
# List of --with-<library> and --without-<library>
# options. If left empty, all libraries will be built.
# Options specified on the command line completely
# override this variable.
libraries = ;
# These settings are equivivalent to corresponding command-line
# options.
option.set prefix : /home/xxxxxx/arm/3.4.1 ;
option.set exec-prefix : /home/xxxxxx/arm/3.4.1/bin ;
option.set libdir : /home/xxxxxx/arm/3.4.1/lib ;
option.set includedir : /home/xxxxxx/arm/3.4.1/include ;
/home/xxxxxx/arm/3.4.1是arm-linux-gcc编译器所在的位置,红色部分是需要修改的
最后运行bjam,生产boost for arm-linux库
解压缩
运行booststrap.sh,运行后,生产project-config.jam和bjam
修改project-config.jam文件,如下
# Boost.Build Configuration
# Automatically generated by bootstrap.sh
import option ;
import feature ;
# Compiler configuration. This definition will be used unless
# you already have defined some toolsets in your user-config.jam
# file.
if ! gcc in [ feature.values <toolset> ]
{
using gcc : : /home/xxxxxx/arm/3.4.1/bin/arm-linux-gcc ;
}
project : default-build <toolset>gcc ;
# Python configuration
using python : 2.7 : /usr ;
# List of --with-<library> and --without-<library>
# options. If left empty, all libraries will be built.
# Options specified on the command line completely
# override this variable.
libraries = ;
# These settings are equivivalent to corresponding command-line
# options.
option.set prefix : /home/xxxxxx/arm/3.4.1 ;
option.set exec-prefix : /home/xxxxxx/arm/3.4.1/bin ;
option.set libdir : /home/xxxxxx/arm/3.4.1/lib ;
option.set includedir : /home/xxxxxx/arm/3.4.1/include ;
/home/xxxxxx/arm/3.4.1是arm-linux-gcc编译器所在的位置,红色部分是需要修改的
最后运行bjam,生产boost for arm-linux库
相关文章推荐
- Linux下及ARM下编译boost 1.58.0
- 移植Gens for linux到arm--------编译成功
- 编译OpenCV for arm-linux
- 【Linux开发】为qt-embedded添加jpeg库的交叉编译方法for arm
- 定制ARM For Linux交叉编译工具详细介绍
- 编译mysql for linux arm
- 编译OpenCV for arm-linux
- 编译OpenCV for arm-linux (转)
- 交叉编译apache服务器for ARM Linux
- arm-linux-gcc 4.1.1 编译 QT 4.7 for ARM 中的错误
- boost and boost::regex for linux(Ubuntu) 编译and安装_二少_新浪博客
- 交叉编译apache服务器for ARM Linux
- 嵌入式web服务器lighttpd的交叉编译及配置(for arm-linux)
- 编译OpenCV for arm-linux 转
- 编译OpenCV for arm-linux
- boost 1_43_0 在arm-linux下编译
- 编译OpenCV-2.1.0 for arm-linux-gcc4.3.2(库文件libcv.so.2.1.0编译成为了x86-64格式)
- (编译适用于ARM的linux内核并进行QEMU仿真)Compile Linux kernel 3.2 for ARM and emulate with QEMU
- arm-linux-gcc交叉编译boost
- boost 1.48 for ARM 交叉编译方法