mkdir install
./bootstrap.sh --prefix=/home/shunzhi/software/boost/boost_1_64_0/install
project-config.jam
文件,具体修改如下:10 if ! gcc in [ feature.values ]
11 {
12 using gcc : arm : arm-hisiv500-linux-gcc ; #注意中间空格
13 }
./bjam install toolset=gcc-arm --layout=tagged --build-type=complete --prefix=/home/shunzhi/software/boost/boost_1_63_0/install
#include
#include
int main()
{
int a = boost::lexical_cast<int>("1008611");
std::cout << a <<std::endl;
return 0;
}
arm-hisiv500-linux-g++ boost_test.cpp -L ../stage/lib/ -I ../ -o test
注意: