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

Dick Porter dick@ximian.com
21 Feb 2002 17:00:53 +0000


On Thu, 2002-02-21 at 15:48, Miguel de Icaza wrote:
> I have added a hack for now, so that /? and /help and /h will do what
> you expect them to, but this is a short term solution.  The long term
> solution needs to explore the following:
> 
> 	* Allow for both --option or /option.
> 
> 	* Auto-detect the OS, and use the command line options
> 	  accordingly (not a good idea, because then makefiles are 
> 	  not "portable").

Or we could ignore /option and assume that anyone that writes a makefile
will use -option if they're going to look for either csc or mcs to build
with.

> 
> 	* 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 /?

This is just as unportable :)

- Dick