[Top][All Lists]

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

win32 paths with spaces

From: jgrant
Subject: win32 paths with spaces
Date: Wed, 26 Nov 2003 16:16:17 -0000


I am lucky enough to be working on win32 at present.  I have:

OBJS = "c:\test dir\main.o"

Unfortunately the quotes are being removed when the various rules are
translated into the command lines (i.e. "gcc -o test.elf $(OBJS)").  Then I
get a bizarre "access denied" message.  If I use paths with no spaces this
works fine; unfortunately there are hundreds of these paths with spaces in.
Is there a way to get make to leave the quotes on the filenames I am putting
on my OBJS line please?  Perhaps a solution to this problem documented
somewhere? I could not find a solution in the manual though.

Please include my email address in any replies.

Kind regards


reply via email to

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