Boost logo

Boost Users :

Subject: Re: [Boost-users] boost compile to arm
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-12-16 04:18:08


leslie lige wrote:

>
> Hi,
>
> I'm tring to cross compile boost 1.37 to arm, I found that I need to add "__arm__" definition to
> get compile correctly, but I don't know where do I define __arm__ macro will be global to all.
> Defautly, the arch is defined as __i386__ when I do cross compile with arm toolchain.

You don't have to define __arm__ macro, it appears like you're doing something wrong -- like
not actually using a cross-compiler. What exactly did you do? You can find some instructions
at:

        http://www.boost.org/boost-build2/doc/html/bbv2/tasks/crosscompile.html

- Volodya


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