Hope that's enough.
************************ using boost .138
************************ compiler gcc 4.2
i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5572) (dot 10.2)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
************************ FILE user-config.jam:
# Boost.Build Configuration
# Automatically generated by Boost configure
# 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
;
************************ FILE makefile (handtuned)
BJAM=./tools/jam/src/bin.macosxx86/bjam -d 2
BJAM_USER_CONFIG=iphone30-user-config.jam
#####################
BJAM_CONFIG_IPHONE=toolset=darwin architecture=arm target-os=iphone --layout=system link=static macosx-version=iphone-3.0 define=_LITTLE_ENDIAN
BJAM_CONFIG_IPHONESIM=toolset=darwin architecture=x86 target-os=iphone --layout=system link=static macosx-version=iphonesim-3.0
prefix_IPHONE=<removedforprivacy>/boost-iphone-os30
prefix_IPHONESIM=<removedforprivacy>/boost-iphonesim-os30
#####################
BJAM_CONFIG=$(BJAM_CONFIG_IPHONE)
prefix = $(prefix_IPHONE)
exec_prefix=$(prefix)
libdir=$(exec_prefix)/lib
includedir=$(prefix)/include
LIBS= --with-serialization --with-filesystem --with-regex
all: .dummy
@echo "$(BJAM) $(BJAM_CONFIG) --user-config=$(BJAM_USER_CONFIG) $(LIBS)"
@$(BJAM) $(BJAM_CONFIG) --user-config=$(BJAM_USER_CONFIG) $(LIBS) || \
echo "Not all Boost libraries built properly."
clean: .dummy
rm -rf bin.v2
distclean: clean
rm -rf Makefile config.log
check: .dummy
@cd status && ../$(BJAM) $(BJAM_CONFIG) --user-config=../$(BJAM_USER_CONFIG) || echo "Some Boost regression tests failed. This is normal for many compilers."
install: .dummy
@echo "$(BJAM) $(BJAM_CONFIG) --user-config=$(BJAM_USER_CONFIG) --prefix=$(prefix) --exec-prefix=$(exec_prefix) --libdir=$(libdir) --includedir=$(includedir) $(LIBS) install"
@$(BJAM) $(BJAM_CONFIG) --user-config=$(BJAM_USER_CONFIG) --prefix=$(prefix) --exec-prefix=$(exec_prefix) --libdir=$(libdir) --includedir=$(includedir) $(LIBS) install || echo "Not all Boost libraries built properly."
.dummy: