Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-04-16 09:58:12

Andre Hentz wrote:

> > 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.

Then, probably chaning

#ifdef NT

in pwd.c to

#if defined(OS_NT) || defined(OS_CYGWIN)

should make this work. I'm not really sure, though, because Win API functions
might be very confused when they see "/cygdrive". We can workaround this,
too, but hmm...

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

... I can also look into cygpath implementation to understand what it does,
but it's long, and GPLed.... I suggest we postpone this issue for a time.
I'll most likely have access to cygwin on Tuesday, and will try to do
something. And for now, issues BB9 and BB29 are more important.

- Volodya


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