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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
To Cross compile boost library using followig step:
Bootstrap the code:
./bootstrap.sh
Edit Modify the configuration file (project-config.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
Note: toolchain must be in the PATH