Boost logo

Boost-Build :

Subject: [Boost-build] Building Universal Binaries on OS X
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2009-06-19 15:16:49

I _think_ I have asked this before BUT I can not seem either find my
post or my notes.

How would I invoke bjam to build boost with both i386 and x86_64 archs?

Currently I use the following:

bjam toolset=darwin --with-test --with-filesystem --with-
program_options --with-iostreams --with-thread variant=release,debug
threading=multi link=static runtime-link=shared --prefix=/Users/Shared/
Toolkits/boost-1_36/ architecture=combined address-model=32_64 --
without-mpi install

This is with Boost 1.36.0. I don't really want to upgrade boost unless
I have to. Was the multiple Archs available for the version of bjam
that was shipped with Boost 1.36? Can I upgrade BJam to get the needed
functionality? Can I set CXXFLAGS or CFLAGS to get the necessary

Mike Jackson mike.jackson_at_[hidden]
BlueQuartz Software
Principal Software Engineer Dayton, Ohio

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at