Boost logo

Boost-Build :

From: Andre Hentz (gclbb-jamboost_at_[hidden])
Date: 2003-04-16 05:24:51


On Wed, 16 Apr 2003, Vladimir Prus wrote:
> > With those changes, stage.py fails with:
> >
> > mkdir: cannot create directory `/cygdrive/c/DOCUME~1': File exists
> >
> > which I think is a unrelated problem.
>
> Right. I've committed the change to 'file_time'. The problem you see now is
> the one we had to stage.py already. Jam has /cygdrive/c/DOCUME~1 target.
> It looks at /cygdrive/c directory to see if it exists there, and finds only
> "Documents And Settings". So, it tries to create the directory.
>
> Solutions are
> 1. If cygwin's gcc has access to winapi headers, extend the workaround in
> pwd.c, which applies only to NT now.
> 2. If cygwin has a command to convert short name to long one, use it.
> 3. Ignore this. Instruct to set TEMP for testing and always use long paths.
>
> I'll try to find out the answers to the questions in (1) and (2) myself, but
> if you know, please tell.
>

1. yes, it does. You just have to include windows.h. I don't know how
portable this is across the several
versions of windows.

2. cygpath -sw pathname (I think it comes with cygutils)

Best,

Andre Hentz

 


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