Boost logo

Boost-Build :

Subject: [Boost-build] having trouble building universal binaries for Mac OSX
From: Eric Johnson (ericj_at_[hidden])
Date: 2009-02-06 15:18:42


Hi All,
     I have been having a difficult time trying to build universal
(ppc and i386) libraries. I've tried various ways that I've seen
described on the web, but none of them seem to work. A recent post on
the Boost-users mailing list looked promising, but didn't work for me
either. My machine is an Intel one running OSX 10.5.6. Building
boost 1.37.0 libraries using bjam 03.1.17. Here's what I tried:

bjam --toolset=darwin --architecture=combined threading=multi --build-
dir=/Volumes/Data_Storage/depot/sdk/boost/boost_1_37_0/lib/mac --with-
system

The result was static and dynamic libraries for Intel only.

I also tried editing my user-config.jam file:
# Compiler configuration
using darwin : : : <compileflags>-arch ppc -arch i386 <linkflags>-arch
ppc -arch i386 ;

This also did not work for me.

Any help would be greatly appreciated. Thanks,
Eric


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk