问题描述
我是新进的交叉编译过程。需要交叉编译Boost库的手臂。请建议一步交叉编译Boost库。
是否有可能越过Boost库的编译所需的功能?
要使用交叉步followig编译boost库:
-
引导文件中,code:
./ bootstrap.sh
-
修改修改配置文件(项目build.jam中),以通过用用gcc取代线使用ARM工具链
使用gcc:手臂:手臂-Linux的gnueabihf-G ++;
-
编译并安装Boost库:
./的bjam安装工具包= GCC臂 - preFIX =的/ usr /本地/升压
I am new into cross compile process. Need to cross compile boost library for arm. Please suggest step to cross-compile boost library.Is it possible to cross compile required feature of boost library?
To Cross compile boost library using followig step:
Bootstrap the code:
./bootstrap.sh
Edit Modify the configuration file (project-build.jam) to use the ARM toolchain by replacing the line with "using gcc" by:
using gcc : arm : arm-linux-gnueabihf-g++ ;
Build and install the boost libraries:
./bjam install toolset=gcc-arm --prefix=/usr/local/boost
这篇关于在Ubuntu的手臂交叉编译升压1.57.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!