[Mono-list] Re: [DotGNU]C# compiler command line parsing

Serge serge@wildwestsoftware.com
Fri, 29 Mar 2002 15:04:10 +0200

> Yes, I dont like the idea of using /
> for a comand line switch, but its better then hand rewriting scripts from
> the other side.

CSC (as well as other Microsoft tools) accepts both slashes and dashes for
its arguments, so assuming compilers have the same set of options it's
possible to just use dash to be portable.
On the other hand, if compilers use different names for the same options,
then it's possible to use simple wrapper to do appropriate translation.
Also, as it was mentioned before, build tools will hide such differences.
Ant, for example, supports Javac, Jikes and JVC.


----- Original Message -----
From: "Bob Smith" <bob@thestuff.net>
To: "Rhys Weatherley" <rweather@zip.com.au>
Cc: "Fergus Henderson" <fjh@cs.mu.oz.au>; "Miguel de Icaza"
<miguel@ximian.com>; <mono-list@ximian.com>; <developers@dotgnu.org>
Sent: Friday, March 29, 2002 12:33 AM
Subject: Re: [Mono-list] Re: [DotGNU]C# compiler command line parsing