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 boost.build 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

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

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
place:

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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net