Build a Universal Binary Boost library for Mac OSX

Will appreciate a clear recipe to build Universal Binary boost libraries for Mac OSX (darwin). Boost is so wonderful, cant say the same for bjam ,,,,,,, Google'ing only pointed to the adobe patch I tried the adobe patch. Patched boost_1_33_1/tools/build/v2/tools/ darwin.jam then issued bjam -sarch=fat -sARCH=fat -sTOOLS=darwin stage (then install) did not make universal .dylibs. I suspect its got something to do with v1 vs v2 bjam or some such, i am just not grokking it. Will appreciate a ccokbook style recipe (have no particular desire to learn bjam) thanks bammi AT memento-inc DOT com

What Boost Build system are you using - version 1, or version 2? The
patches we have supplied in the Adobe Source Libraries are for BBV2.
As I understand the command you are uttering in order to invoke
Boost.Build, it would seem you're building with v1.
In general, to get gcc to build universal binaries, you add "-arch
i386 -arch ppc" to the commandline. There are a dozen ways to skin
that cat. Hope that helps...
Blessings,
Foster
On 3/11/06, Jwahar Bammi
Will appreciate a clear recipe to build Universal Binary boost libraries for Mac OSX (darwin). Boost is so wonderful, cant say the same for bjam ,,,,,,,
Google'ing only pointed to the adobe patch
I tried the adobe patch. Patched boost_1_33_1/tools/build/v2/tools/ darwin.jam then issued bjam -sarch=fat -sARCH=fat -sTOOLS=darwin stage (then install) did not make universal .dylibs.
I suspect its got something to do with v1 vs v2 bjam or some such, i am just not grokking it.
Will appreciate a ccokbook style recipe (have no particular desire to learn bjam)
thanks bammi AT memento-inc DOT com
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Foster T. Brereton - Computer Scientist Software Technology Lab, Adobe Systems Incorporated fbrereto@adobe.com -- http://opensource.adobe.com
participants (2)
-
Foster Brereton
-
Jwahar Bammi