Re: How to handle paths with spaces?

Senthil Kumar Selvaraj <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <[email protected]>
On Thu, Jul 17, 2014 at 12:43:47PM +0530, Royce Pereira wrote:
> Hi,
> 
> In my makefile i have included a folder in the 'extra include directories'
> line.
> 
> But one folder in this path has a space. I tried to enclose the path and
> then the folder in single quotes as well as double quotes, but while
> running make, the path always gets split into two,  causing my headers to
> be not found.
> 
> I cannot rename the folder.
> 
> So how to handle this?   I'm sure there is an absurdly simple workaround,
> but I'm not able to find it.

Try escaping the spaces with backslashes, like so
My\ Path\ with\ spaces

Regards
Senthil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.