|
Boost-Build : |
Subject: Re: [Boost-build] Different python path
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-21 06:19:33
On Monday 20 October 2008 22:09:15 Chris Allen wrote:
>
> Hi,
>
> Is there a way of specifying a different path in the "using python"
> statement depending on whether the build is 32-bit or 64-bit?
>
> I tried adding "address-model" as a condition like so:
>
> using python
> : 2.4 # version
> : s:/python/2.4/python.exe # cmd-or-prefix
> : # includes
> : # libraries
> : <target-os>windows <address-model>32 # conditions
> ;
>
> But it seems to be ignored because when I specify "address-model=64" on
> the bjam command line it still uses the 32-bit path and obviously fails
> to link.
I think this should work, though I did not try that personally. Did you
actually defined two python version in your user-config.jam? You've showed
only one definition. Does removing <target-os>windows helps? Can you
add --debug-building and post the output?
- Volodya
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