Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
-
Patch
Description
Mono C# compiler gmcs has been available as backward compatibility script for years.
http://www.mono-project.com/docs/about-mono/languages/csharp/
Starting with Mono version 2.11 a new unified compiler mcs is available. It replaces all previous runtime specific compilers (gmcs, dmcs, smcs). They still exist (as scripts only) to ease the migration path to mcs but we strongly recommend to use mcs.
But Mono 4.0.2.5 and later no longer ships with it.
https://github.com/mono/mono/commit/b304ec5e0e694ef7098e0fc3eba9dbc0162f4568
This makes it impossible to build Thrift C# library on modern Mono.
The patch does the following
- check mono version and availability of mcs executable
- if mono >= 2.11 and mcs is there, use mcs
- if not, use gmcs and nothing changes as before