[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: win32 paths with spaces

From: jgrant
Subject: RE: win32 paths with spaces
Date: Thu, 27 Nov 2003 09:47:51 -0000


Sorry, I will only post to make-w32 for these problems.

> > Date: Thu, 27 Nov 2003 00:14:12 -0500
> > From: "Paul D. Smith" <address@hidden>
> > 
> > The short answer is that make doesn't handle files with 
> spaces in the 
> > name, and there's really no way around this.
> The only way that I know of to work around that is to use the 
> 8+3 alias of the offending file name.  In this case, something like
>   OBJS = c:\testdi~1\main.o
> should work (be sure to check the actual short name on your 
> disk with "DIR /X" or its equivalent!).  Ugly, but effective.
> Paul, perhaps we should put this trick somewhere in the docs, 
> although it only works on Windows; GNU and Unix users are out 
> of ``luck''.

Ok, I tried this and it works.  Make works if I construct the command lines
and write to Makefile:
        gcc -o z:/test.elf "z:/test dir/test.c"

Are there any plans for future support of filenames with spaces?

Kind regards


reply via email to

[Prev in Thread] Current Thread [Next in Thread]