Boost logo

Boost-Build :

Subject: Re: [Boost-build] building boost for iphone
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-02-15 07:44:48


Mateusz Berezecki wrote:

> Hi,
>
> I've been searching through boost build archives and found outdated
> solutions only,
> so I am wondering if it's possible to build boost for iphone 2.2 ?
> I've tried editing darwin.jam file, so that the search path for
> frameworks is corrected
> but it did not help much.
>
> I'm seeing the following error:
>
> darwin.compile.c++
>
bin.v2/libs/math/build/darwin-4.0.1~iphone/release/architecture-arm/macosx-version-iphone-2.2/target-os-iphone/threading-multi/fmin.o
> In file included from ./boost/math/special_functions/detail/fp_traits.hpp:27,
> from ./boost/math/special_functions/fpclassify.hpp:20,
> from libs/math/build/../src/tr1/fmin.cpp:8:
> ./boost/detail/endian.hpp:69:3: error: #error The file
> boost/detail/endian.hpp needs to be set up for your CPU type.

Please file a bug report on svn.boost.org
Until that bug report is fixed, you need to add

        define=_LITTLE_ENDIAN

to Boost.Build command line.

This appears to be a new problem caused by a file added in 1.38

- Volodya


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