Hi,
I understand a lot of effort is being spent on making boost easy to compile and so on but as far as my experience goes, that's always a bit painful...
So here's what I'm going to do as a background task: I'm going to play it dumb (eg. not spend 30 minutes on the web everytime I hit something) and tell you all about it :-)
My goal here is to compile boost 1.39 on the iphone os3.0.
Note that I already compiled 1.38 on os21 and os30 so I have gathered some experience already, but as I said, I'm playing it dumb.
So:
- getting boost from the web, uncompress and so on
- boostrap, so far so good
- add my user-config with:
#################################################################
# Compiler configuration
using darwin : 4.0.1~iphone
:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch arm
: <striper>
: <architecture>arm <target-os>iphone <macosx-version>iphone-3.0
;
using darwin : 4.0.1~iphonesim
:
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386
: <striper>
: <architecture>x86 <target-os>iphone <macosx-version>iphonesim-3.0
;
#################################################################
- and type ./bjam
BUT, here we go, first problem, my user-config.jam seems to be ignored. the compiler used is "g++":
"/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2"
still the doc says:
On startup, Boost.Build searches and reads two configuration files:
site-config.jam
and user-config.jam
.
On top of that, the project-config.jam file says:
# Compiler configuration. This definition will be used unless
# you already have defined some toolsets in your user-config.jam
# file.
if ! darwin in [ feature.values <toolset> ]
{
using darwin ;
}
Anybody get any idea?
Frank