Boost logo

Boost Users :

From: Sergei Nikulov (sergey.nikulov_at_[hidden])
Date: 2020-05-20 11:28:49


On Tue, May 19, 2020 at 11:02 PM Leonid Meyerovich
<lmeyerovich_at_[hidden]> wrote:
>
> You are right, I do have arm cross-compiler installed.
> But I though that 'b2' executable is a part of the package that I downloaded from BOOST site and this executable is built for x86 machine.
> Running 'bootstrap.sh' copy this file to boost_root folder, am I wrong?
>
> Thanks,
> ________________________________

No. You've downloaded the source code package.

So have following options
1. Build b2 for the host, then edit project-build.jam to build boost
libs for the target. (for ex:
https://www.cnx-software.com/2011/10/03/cross-compiling-boost-c-libraries-for-arm/)
2. Since you've used OE SDK (it's Yocto project I think), enable boost
recipe in OE bitbake to build your SDK with boost libs. Then you'll be
able to use it from SDK sysroot.

The latter option is preferred and more natural for your embedded
target unless you need a bleeding-edge boost version.

-- 
Best Regards,
Sergei Nikulov

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net