Boost libraries built for iPhone
I'm a heavy user of the Boost C++ Libraries, and spent a while earlier this year figuring out how to build Boost for iPhone OS so I could port my existing game engine and libraries. When I got it working, I planned to write a detailed guide, but as I still haven't got around to that, I figured I'd just make some binaries available instead. I gather less hacking is required now than used to be, but this still might save someone some time.
The archives linked below include both debug and release versions, built from Boost 1.41.0 sources against iPhone OS 3.1 on GCC 4.2, with threading=multi. All libraries are static versions only, because (afaik) you're not supposed to do your own dynamic libraries on the iPhone.
The 'release' builds are built with optimization=space, because I had a runtime crash (in Boost.Signals, IIRC) when using the default optimization=speed. The iPhone (not Simulator) versions are built with -mno-thumb because of a code generation failure when Thumb instructions were enabled. I suggest you modify your Xcode project settings to match — set Optimization Level on your release build to 'Fastest, Smallest' (-Os) and turn off 'Compile for Thumb'.
Boost Iostreams have been built with support for gzip but not bzip2.
Finally, the Program Options library is omitted altogether, as it failed to build for iPhone, and doesn't really make sense on the platform anyway.
boost_1_41_0_iphone.tar.bz2
boost_1_41_0_iphone_simulator.tar.bz2
Distributed under the Boost Software License.
Post a comment
Comments
http://www.devilsfanstore.com/
http://www.devilsfanstore.com/2-new-jersey-devils-jersey
http://www.devilsfanstore.com/6-ilya-kovalchuk-jersey
http://www.devilsfanstore.com/7-jamie-langenbrunner-jersey
http://www.devilsfanstore.com/8-ken-daneyko-jersey
http://www.devilsfanstore.com/9-martin-brodeur-jersey
http://www.devilsfanstore.com/10-new-jersey-devils-blank-jersey
http://www.devilsfanstore.com/11-patrik-elias-jersey
http://www.devilsfanstore.com/12-scott-stevens-jersey
http://www.devilsfanstore.com/13-zach-parise-jersey
http://www.devilsfanstore.com/3-devils-youth-jersey
http://www.devilsfanstore.com/4-devils-women-jersey
http://www.devilsfanstore.com/5-devils-authentic-jersey
http://www.discountlouboutinsstore.com/
http://www.discountairjordans13.com/
http://www.salecheaplouboutins.com/
xfthdf
I never got back to you, but I figured out how to get Boost working. Here's a post I wrote on using Boost 1.42 and the iPhone/iPad
http://paulsolt.com/2010/04/c-logging-and-building-boost-for-iphoneipad-3-2-and-macosx/
I would greatly appreciate any information you have on how you build boost for iPhone.
Hey thanks, you have really saved my bacon. Needed to build boost to meet a deadline porting an application for work, so your binaries were mega helpful. Would it be possible for you to email me the build options / edits you made to generate these binaries? Ideally I would like to build 1_42_0 myself. Cheers :-)
Wow! This was insanely helpful :).
I've had serious problems building boost for iPhone and the deadline is looming.
Keep up the good work!
Powered by clunkyblog release 3.10. Generated in 329ms.
