Re:GNU Make in Detail for Beginners
by qntm on Monday July 02, 2012 @07:23AM
(#4188373)
Fair warning: GNU make cannot handle directory names or file names which contain spaces. This is a show-stopper defect which has been present since the day it was written and shows no signs of ever being fixed.
[ Parent
| on HN ]
Why would you have a space in a directory/file name though? I wouldn't call this a show-stopper.
Program Files
My Documents
Also, why wouldn't I? Why shouldn't I? There isn't a single file system that prevents me from doing so and there isn't a single other computer program in the world which has a problem with it.
Make was made for *nix, it's not exactly surprising that it doesn't conform with Windows's preferences :-) I certainly wouldn't call that show-stopping.
Oh and there are some file systems that don't allow spaces by the way, though admittedly not in common usage.
I understand you are making a point, one which I largely agree with, but:
there isn't a single other computer program in the world which has a problem with it
is a bit too much hyperbole -- there is some really really bad software out there.
That's a fair point. Strawberry Perl, I'm looking at you.
I stand by the rest of what I said, though. If a piece of software can't handle spaces in paths, the software is broken. I'm not adding a top-level directory to my C: drive just to appease it. I'll use something else.