交叉编译boost

运行bootstrap.sh

修改project-config.jam

using gcc;

=>

using gcc : arm : arm-none-linux-gnueabi-g++ ;

./b2 --prefix=/opt/boost/ cxxflags="-std=c++0x"

虽然我添加了C++11标准的flags,但是到实际调用库时加上C++11的flags却报错了

少壮不识cpp,老大方知cpp可怕
原文地址:https://www.cnblogs.com/Jacket-K/p/10832540.html