|
Boost : |
From: Mat Marcus (mat-lists_at_[hidden])
Date: 2007-11-28 16:07:15
I've made a number of changes to my universal-binary supporting
darwin.jam patch (shipping with the Adobe Source Library) in order to
address the concerns raised by Rene and others at
http://svn.boost.org/trac/boost/ticket/989 :
My current version supports invocations like:
bjam architecture={combined,x86,power} link={shared,static}
address-model={64,32}
That is, universal builds are now supported, along with 64 bit builds.
I'd like to ask for the help from a few volunteers who'd be willing to
test it out, before I submit my patch for consideration. Anyone
interested in helping me test it? If so, please contact me off list and
I'll send you a couple of boost build files to replace.
I still have a bit of cleanup to do. Specifically, on the mac,
if a build doesn't specify an -arch parameter, the architecture (and
perhaps the address model) of the host machine is used. I'm not really
comfortable with the same folder path meaning different things on
different machines. So, I plan to do something like the following in
darwin.jam (in invented pseudo code)
SWITCH(on result of /usr/bin/arch) { # host machine's architecture
CASE(ppc) use <architecture>power/<address-model>32 as the default
CASE(i386) use <architecture>x86/<address-model>32 as the default
CASE(ppc64) use <architecture>power/<address-model>64 as the default
CASE(x86_64) use <architecture>x86/<address-model>64 as the default
DEFAULT error, unknown arch
Thanks,
Mat
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk