Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost] [arm] Building for ARM
From: Vaclav Barta (vbar_at_[hidden])
Date: 2013-03-16 03:01:31


Hi,

On 03/16/13 02:24, Michael Powell wrote:
> Hello,
>
> I wonder, has anyone built Boost for ARM?
>
> Specifically, we've got an ARM5 for which I want to use Boost for many
> of those features, a key one is Spirit2 for at least one
> domain-specific-language (DSL) exposure, possibly two or three.
I've built Boost for Android (i.e. ARM6), and I'm far from the only one
- I've started from https://github.com/MysticTreeGames/Boost-for-Android
, which is for an old version of Boost, but the general approach of
keeping a set of patches removing problematic functionality (Android
doesn't have full standard C++ library - no wide strings, no locales
etc. - so parts of Boost depending on that have to be cut out) and
extending Boost.Build with an Android target works across versions.

> That I can say, we're working with Mentor Graphics, Code Sourcery Code
> Bench for ARM for the moment. I think they've got current GCC language
> support through 4.7.2 if it matters.
I'm sure recent GCC helps, but I'd also check their library support.

>
> My only questions are, how feasible a cross compile is Boost? Does the
> inclusion and linkage go about as smoothly as for any other
> ARM-destined output?
It's feasible, but I wouldn't call it smooth... OTOH it might be just my
lack of experience - Android was the first (and so far only) ARM I tried
to port anything to, and I haven't added a Boost target before either...

     Bye
         Vaclav

--
http://www.mangrove.cz/

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