[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] command line compatibility for tools
From: |
Rhys Weatherley |
Subject: |
Re: [Pnet-developers] command line compatibility for tools |
Date: |
Sun, 24 Oct 2004 08:45:22 +1000 |
User-agent: |
KMail/1.4.3 |
On Sunday 24 October 2004 12:41 am, Peter \"Firefly\" Lund wrote:
> For now, though, wouldn't the Microsoft/Mono compatibility be more
> important, at least for cscc in C# mode?
The command-line options for the tools are designed to fit into a standard GNU
compiler toolchain. Hence the use of gcc-style options. Compatibility with
csc/mcs was always a secondary concern. It is too late to make a change of
this magnitude now (the decision was taken over 3 years ago).
The reason why it is not documented is because it is not recommended. '/'
options can greatly confuse Unix systems which may not be able to tell the
difference between options and filenames in some cases. It may "just work"
with the typical C# programmer's build scripts, but in the general case it is
extremely error-prone.
The csant tool provides a much better approach: the same build script can be
used with multiple compilers, each with their own native options.
Cheers,
Rhys.