Changes between Version 14 and Version 15 of OSXUniversalDependencies


Ignore:
Timestamp:
09/04/2008 10:41:10 AM (16 years ago)
Author:
diane
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OSXUniversalDependencies

    v14 v15  
    1717== Boost ==
    1818
    19 Boost unfortunately uses its own unique build system and getting the options right isn't nearly as easy.
     19Boost 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
     21For 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{{{
     24bjam --toolset=darwin macosx-version=10.4 architecture=combined link=static
     25}}}
     26
     27macosx-version=10.4 allows the resulting binary to run on a 10.4 system, you'll probably need /Developer/SDKs/MacOSX10.4u available.
     28link=static gives you static libraries which means not having to fix-up the *.dylibs when installed into an app bundle.
     29architecture=combined builds fat libraries with both i386 and ppc code.
    2030
    2131To configure boost 1.34.0 to build as universal binary, I ran their configure script which generated a user-config.jam. There I changed {{{ using darwin ; }}} to