19 | | Boost unfortunately uses its own unique build system and getting the options right isn't nearly as easy. |
| 19 | Boost unfortunately uses its own unique build system and getting the options right isn't nearly as easy, though by boost 1.36 they've made progress in simplifying building an os x universal binary. |
| 20 | |
| 21 | For boost 1.36.0 (which isn't tested as of [,617]) use the following bjam command (After installing bjam and extracting the archive.) |
| 22 | |
| 23 | {{{ |
| 24 | bjam --toolset=darwin macosx-version=10.4 architecture=combined link=static |
| 25 | }}} |
| 26 | |
| 27 | macosx-version=10.4 allows the resulting binary to run on a 10.4 system, you'll probably need /Developer/SDKs/MacOSX10.4u available. |
| 28 | link=static gives you static libraries which means not having to fix-up the *.dylibs when installed into an app bundle. |
| 29 | architecture=combined builds fat libraries with both i386 and ppc code. |