Thank you for your explanation.
BTW,  I am editing user-config.jam, is it right way to edit project-build.jam?
I have already embedded Linux install on my target, so I am not building the 
whole system.
I may need to build an application (cross-compile) and move it to the target 
(maybe with some library, is it will be difficult to link statically)

Thanks,
Leonid
________________________________
From: Sergei Nikulov <sergey.niku...@gmail.com>
Sent: Wednesday, May 20, 2020 7:28 AM
To: Leonid Meyerovich <lmeyerov...@i-a-i.com>
Cc: boost-users@lists.boost.org <boost-users@lists.boost.org>
Subject: Re: [Boost-users] boost build from source code

On Tue, May 19, 2020 at 11:02 PM Leonid Meyerovich
<lmeyerov...@i-a-i.com> 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


________________________________
This message and all attachments are PRIVATE, and contain information that is 
PROPRIETARY to Intelligent Automation, Inc. You are not authorized to transmit 
or otherwise disclose this message or any attachments to any third party 
whatsoever without the express written consent of Intelligent Automation, Inc. 
If you received this message in error or you are not willing to view this 
message or any attachments on a confidential basis, please immediately delete 
this email and any attachments and notify Intelligent Automation, Inc.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to