[Mono-dev] Mono C# compiler switch
Miguel de Icaza
miguel at microsoft.com
Tue Nov 29 02:18:23 UTC 2016
Having different IL output should be fine.
It would just be like building Mono with GCC or LLVM, or with different optimization levels.
I would not want that support to bitrot, now is the perfect time to make sure that this does not get dropped.
From: Marek Safar <marek.safar at gmail.com>
Date: Monday, November 28, 2016 at 5:20 PM
To: Miguel de Icaza <miguel at microsoft.com>
Cc: "Mono-devel-list at lists.dot.net" <Mono-devel-list at lists.dot.net>
Subject: Re: [Mono-dev] Mono C# compiler switch
I would like to have an option to allow Mono to build with MCS, as it is currently faster.
It'd be nice but it'd definitely produce different output (not only IL blocks but metadata as well) and it also means updating mcs to support pdb format because having another difference in debug symbols seems to me just too much.
From: Mono-devel-list <mono-devel-list-bounces at lists.dot.net<mailto:mono-devel-list-bounces at lists.dot.net>> on behalf of Marek Safar <marek.safar at gmail.com<mailto:marek.safar at gmail.com>>
Date: Monday, November 28, 2016 at 9:46 AM
To: "Mono-devel-list at lists.dot.net<mailto:Mono-devel-list at lists.dot.net>" <Mono-devel-list at lists.dot.net<mailto:Mono-devel-list at lists.dot.net>>
Subject: [Mono-dev] Mono C# compiler switch
Mono master has switched to Roslyn compiler as the default C# compiler. We'll keep both compilers (mcs and csc) available for some time but csc will be our preferred compiler from now on.
Our compiler always tracked Microsoft C# implementation very closely so I don't expect any upgrade issues, especially when both mcs and csc will co-exist because they have different set of supported command line arguments. For those using xbuild (or CodeDOM driven APIs) the upgrade should be automatic and only noticeable change will be different debug symbols format.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list