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
Kenny Riddile wrote:
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?)
Not quite right: http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
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
If you add -d+2, what are the command lines? I bet your user-config.jam is not getting read. - Volodya
Vladimir Prus wrote:
Kenny Riddile wrote:
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?)
Not quite right:
http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
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
If you add -d+2, what are the command lines? I bet your user-config.jam is not getting read.
- Volodya Thanks, knew it was something simple...seems to be building now after I manually told it the iphone was little-endian.
participants (2)
-
Kenny Riddile
-
Vladimir Prus