From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2020-02-02 17:32:16
On Sun, Feb 2, 2020 at 10:01 AM M. Dodson via Boost-build <
> I am trying to cross compile Boost libraries for RTEMS (Real-Time
> Executive for Multiprocessor Systems) on RISC-V.
> I have the toolchain available (e.g., riscv-rtems5-gcc).
> Based on the Boost.Build user manual, I am not sure this is actually
> Following the âcross-compileâ instructions in section 4.9, it appears I
> have to supply a specific target operating system and that RTEMS is not
> Am I reading this correctly?
Yes, you need to specify a target OS if you want to do it cleanly. But...
Is there any other way for me to cross-compile Boost for use with RTEMS?
You can also just ignore the OS and make your toolset only usable in that
OS. It defaults to "unix" at the OS. I.e. you can use "unix" as the OS in
your use case. Or...
You can also adhok add a new OS to the OS features with:
import feature ;
feature.extend os : rtems ;
feature.extend target-os : rtems ;
feature.extend host-os : rtems ;
With that in your user-config.jam, you can then `b2 target-os=rtems`.
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk