[Mono-list] Mono C# compiler command line options.
12 Jul 2002 10:09:28 +0100
On Fri, 2002-07-12 at 03:04, Miguel de Icaza wrote:
> Hello everyone,
> The Mono C# compiler on CVS now supports the same command line
> arguments as the Microsoft C# compiler does. This means that now you
> can make your makefiles use the CSC command line options, and just do
> stuff like:
> We still support the old command line options to avoid rewriting
> makefiles. Here is how the command line handling works:
> If an argument begins with a dash, then the Unix command
> line handling is invoked. If this is not recognized as
> an option, then we try it with the CSC option handler.
> This is so things like "mcs -nologo" work (because CSC
> also allows options that begin with a dash).
> If the argument begins with a slash, then we try to process
> it as a CSC option, if it is not an option, we assume it is
> a filename (for Unix purposes), and process that as a filename.
Wouldnt it be easier (and more deterministic) to pick which argument
style to use based on the c# equivalent of argv?