Matt.Galloway さんのブログより拝借 http://iphone.galloway.me.uk/2010/09/compiling-boost-1-44-for-iphone/
# <grab source from boost.org> # download boost_1_49_0.tar.gz and extract any directory cd boost_1_49_0 ./bootstrap.sh # Set this to whatever you want to build against SDK_VERSION="4.2" # Install for device: ./bjam --prefix=${HOME}/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS${SDK_VERSION}.sdk/usr toolset=darwin architecture=arm target-os=iphone macosx-version=iphone-${SDK_VERSION} define=_LITTLE_ENDIAN link=static install # Install for simulator ./bjam --prefix=${HOME}/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator${SDK_VERSION}.sdk/usr toolset=darwin architecture=x86 target-os=iphone macosx-version=iphonesim-${SDK_VERSION} link=static install
1.49.0では、SDK4.2までのサポートのようで、5.1にしたらエラーになった。
http://www.cmake.org/cmake/resources/software.html
$ cd /usr/local/src $ mkdir boost $ svn co http://svn.boost.org/svn/boost/branches/CMake/release $ mv release boost-1.41.0-cmake
$ cd boost-1.41.0-cmake $ cmake -GXcode . $ cmake -DCMAKE_IS_EXPERIMENTAL=YES_I_KNOW .
$ open Boost.xcodeproj
http://blog.slidetorock.com/linking-a-static-library-with-xcode-322-and-s