Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-10-16 15:11:44

Vladimir Prus wrote:
> Bojan Resnik wrote:
>>> The Python port of Boost.Build is now at the stage where
>>> you can actually build a simple project that
>>> uses the 'make' rule. Most of this result is thanks to
>>> Pedro Ferreira, who performed original port back in 2005.
>>> It appears that the path from here is straight-forward -- we need
>>> to update modules that Pedro has ported to current Jam codebase,
>>> and port more tools.
>>> I've put up a wiki page at:
>>> that describes how to try the Python port, and how to help.
>>> Clearly, all possible help is appreciated!
>> I encountered a couple of problems on Windows:
>> 1. build.bat --with-python=D:\Python\2.5
>> does not work. The final call to bootstrap\jam0 gets:
>> --with-python D:\Python\2.5
>> without '='. I suppose that '=' is treated as argument
>> separator by cmd.exe
>> and gets eaten in Setup_Args loop. I solved this by removing the
>> Setup_Args loop and using %* in the call to jam0. This is
>> supported since Windows 2000, I am not sure about earlier
>> versions.
> Rene, any ideas how to solve this?

Well removing the Setup_Args is not really an option, and I can't really
do anything about CMD using "=" as a separator. But I did a minor fix to
allow putting quote around the option:

   build.bat "--with-python=C:\Python\2.5"

Fix is in the trunk.

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at