|
Boost-Build : |
Subject: Re: [Boost-build] Mac OS X Universal python link problem
From: Matt Bendiksen (matt_at_[hidden])
Date: 2010-02-15 09:28:35
On Feb 15, 2010, at 12:16 AM, Vladimir Prus wrote:
> On Monday 15 February 2010 04:41:49 Matt Bendiksen wrote:
>
>> The OS X 10.5 SDK has the Python 64 bit PPC framework. The 10.6 SDK does not; I guess because 10.6 is Intel only (although it does include the 32 bit Python version?). Anyhow, to get a universal shared library of boost.python that targets OS X 10.5 I ended up needing to pass these args to bjam:
>>
>> architecture=combined address-model=32_64 macosx-version=10.5 macosx-version-min=10.5
>
> What was the command line you used originally, and what was the error. Boost.Build that is included in 1.42
> is supposed to detect that you're targeting 10.6 and skip ppc64 in that case.
>
> Thanks,
A default 'bjam' worked okay, but I ran into the problem when I tried to build universal and target 10.5 like this:
bjam architecture=combined address-model=32_64 macosx-version=10.5 link=shared --toolset=darwin --with-python
I got it working by adding macosx-version-min=10.5 and by editing my user-config.jam to force the python version to 2.5:
bjam architecture=combined address-model=32_64 macosx-version=10.5 macosx-version-min=10.5 link=shared --toolset=darwin --with-python
user-config.jam:
using python : 2.5 ;
Regards,
Matt
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