Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-15 08:49:47


----- Original Message -----
From: "Markus Schöpflin" <markus.schoepflin_at_[hidden]>

You can work around your problem by using -sALL_LOCATE_TARGET=... to build
> > to a top-level directory (map a drive letter if neccessary)
>
> Unfortunaltely not. ".\bjam -sALL_LOCATE_TARGET=c:\" still gives
> an error.

The same error?

> > In Boost.Build v2 we can try to work around this problem by making the
> > mkdir rule CD to the parent directory, if neccessary.
>
> Won't help. I tried repeatedly to "mkdir 0123456789 && cd 0123456789"
> and it still fails when reaching a limit somewhere near 256 chars.

Where would the 256 characters be? the point is that each directory being
created would be reached through a sequence of "cd" commands to reach an
appropriate depth.

Or are you saying that absolute paths cannot be longer than 256 characters,
no matter how they are formed?

> Looks like we have to use the native WIN32 API to solve this. I could
> offer to venture a look at the jam sources if this is feasible.

I don't see how that would help, but maybe you do. So feel free to look at
it.

-Dave

 


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