Subject: [Boost-bugs] [Boost C++ Libraries] #2762: impossible to build boost 1.38 for iphone
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-15 13:05:53
#2762: impossible to build boost 1.38 for iphone
------------------------------+---------------------------------------------
Reporter: anonymous | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
Version: Boost 1.38.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
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.
I've edited darwin.jam file to reflect new SDKs paths for iphoneos
199 local rule init-available-sdk-versions ( condition * : root ? )
200 {
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
: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-
darwin9-g++-4.0.1
-arch arm
: <striper>
: <architecture>arm <target-os>iphone <macosx-version>iphone-2.2
;
using darwin : 4.0.1~iphonesim
: /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++
: <striper>
: <architecture>x86 <target-os>iphone <macosx-version>iphonesim-2.2
;
Removing user-config.jam results in bjam not being able to find arm g++.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2762> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC