On Sun, Oct 02, 2005 at 12:15:05PM -0500, Wes wrote:
> On 10/2/05 7:48 AM, "William ZHANG" <[EMAIL PROTECTED]> wrote:
> 
> > Yes, the Makefiles cannot deal with spaces correctly.
> > Seems we should avoid use the `complicated' path.
> 
> Such paths are normal on systems with a GUI interface.  They are not out of
> the ordinary nor complicated.

Problem is, the space is also the word seperator. So if you have a
space seperated list of words (ie normal for make), names with spaces
are a pain.

It occurred to me that you might be able to replace the spaces in the
paths with question marks. Then any invokation of the shell will expand
the question mark back to a space as part of parameter expansion.

Alternativly, replace the spaces with some utf-8 sequence that looks
like a space but isn't an ASCII space. Windows is case-insensetive so
it may map the different "spaces" together, but they'd be distinct for
make.

Good luck...
-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment: pgpzg7QuMwcP1.pgp
Description: PGP signature

Reply via email to