Subject: Re: [Boost-build] Patch for building Boost 1.40 on Mac OS X Snow Leopard
From: Boris DuÅ¡ek (boris.dusek_at_[hidden])
Date: 2009-11-08 08:42:18
2009/11/8 Vladimir Prus <ghost_at_[hidden]>
> > > Explicitly specifying macosx-version=10.6 should have the desired
> > >
> > Looks like it does not ("-arch ppc64" highlighted with asterisks):
> > bjam toolset=darwin threading=multi link=shared runtime-link=shared
> > --with-system architecture=combined address-model=32_64
> > macosx-version-min=10.6 stage --stagedir=. variant=release -d+2
> Aha. I've misquoted '.' when splitting version number.
> > It seems that for both macosx-version and macosx-version-min, it defaults
> > the OS X version of the build machine. I will try to find more info on
> > To find out the OS X version at runtime, it's possible to issue this
> > command:
> > $ /usr/bin/sw_vers -productVersion
> > 10.6.1
> I have modified patch to invoke this, and use the result if no version is
> explicitly specified.
Oh, one more thing (and a funny one): errors on issuing an error message:
$ bjam toolset=darwin threading=multi link=shared runtime-link=shared
--with-system architecture=combined address-model=64 stage --stagedir=.
variant=release -d+2 && echo "Report: `lipo -info lib/*`"
rule errors.user-error unknown in module darwin.
(this is the case when it detected 64-bit PPC compilation targetting 10.6
and wants to issue errors.user-error "64-bit PPC compilation is not
supported when targeting OSX 10.6 or later")
Thanks for tirelessly supporting a platform you can't test on and which I
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