[Mono-list] Bug in command-line handling of mcs.exe

Raymond Penners raymond@duologix.nl
Thu, 21 Feb 2002 17:23:20 +0100


Miguel de Icaza wrote:
> 	* Always handle /option like --option, and have a special
> 	  /quote to "quote" the next option as a filename, so
> 	  if you really wanted to compile /? (which btw, right now
> 	  we refuse to, because it has to end in .cs), then you would
> 	  use:
> 		mcs /quote /?

Wouldn't this be equally bad for makefile portability?:

FOO = $(HOME)/src/a.cs
mcs $(FOO)
(HOME expands to /home/user, thus, requiring a /quote).

I would vote for auto-detecting the OS and behave accordingly.