Subject: [Boost-build] building boost for iphone
From: Mateusz Berezecki (mateuszb_at_[hidden])
Date: 2009-02-15 07:31:28
I've been searching through boost build archives and found outdated
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:
In file included from ./boost/math/special_functions/detail/fp_traits.hpp:27,
./boost/detail/endian.hpp:69:3: error: #error The file
boost/detail/endian.hpp needs to be set up for your CPU type.
I've edited darwin.jam file to reflect new SDKs paths for iphoneos
199 local rule init-available-sdk-versions ( condition * : root ? )
201 root ?= /Developer/Platforms/iPhoneOS.platform/Developer ;
202 local sdks-root = $(root)/SDKs ;
and got the following user-config.jam file in my ~ dir.
using darwin : 4.0.1~iphone
: <architecture>arm <target-os>iphone <macosx-version>iphone-2.2
using darwin : 4.0.1~iphonesim
: <architecture>x86 <target-os>iphone <macosx-version>iphonesim-2.2
Removing user-config.jam results in bjam not being able to find arm g++.
Did anyone succeed building boost for iphone at all?
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