|
Boost-Build : |
From: David Abrahams (gclbb-jamboost_at_[hidden])
Date: 2003-05-13 10:58:31
Vladimir Prus <ghost_at_[hidden]> writes:
> David Abrahams wrote:
>
>> > prebuilt.py works on windows. I don't understand your core changes
>>
>> That's very bad! I commented quite extensively. Can you help me to
>> understand the deficiency?
>
> Will try again tomorrow, just in case I was not attentive. I think the real
> problem is that I don't understand where the bug comes from.
The bug comes from the fact that all :X path modifiers rely on
facilities which first parse the path by separating out directory,
basename, extension, etc., and then reconstitute the unchanged parts,
inserting PATHSEP where neccessary.
That means foo/bar/baz.x becomes more like
directory: foo/bar
basename: baz
extension: x
If you strip the extension, say, it puts the first two parts back
together as:
foo/bar\baz
using the platform path separator.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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