Boost logo

Boost Users :

Subject: [Boost-users] help building boost for iphone
From: Kenny Riddile (kfriddile_at_[hidden])
Date: 2009-04-08 17:31:33

I'm fairly inexperienced with and I'm having an issue
building boost for the iphone. My user-config.jam (I put this in the
same dir as the bjam executable right?) looks like this:

using darwin : 4.0.1~iphone


-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 ;

and I'm invoking bjam like this:

./bjam debug release toolset=darwin --layout=system link=static
architecture=arm target-os=iphone macosx-version=iphone-2.2

My error is that it can't find g++ becuase it isn't looking in the right

g++-4.0: installation problem, cannot exec
'/usr/bin/arm-apple-darwin9-g++-4.0.1': No such file or directory

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at