交叉编译boost库

./bootstrap.sh --with-toolset=gcc

project-config.jam:

if ! gcc in [ feature.values <toolset> ]
{
using gcc : arm : /home/arci/buildroot-2023.02/output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc ;
}

./b2 link=static

./b2 link=static install --prefix=/home/arci/boost

posted @ 2023-05-05 22:37  阿C  阅读(110)  评论(0编辑  收藏  举报