Bug 1188 - C# compiler used should be overrideable in generated configure file
Summary: C# compiler used should be overrideable in generated configure file
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.6
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2011-10-03 07:52 UTC by Patrick Ulbrich
Modified: 2015-07-02 09:44 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Patrick Ulbrich 2011-10-03 07:52:00 UTC
In Fedora both, gmcs and dmcs are available, whereas in Debian/Ubuntu mono-csc should be used (defaults to dmcs, gmcs is not installed by default). Thus, makefiles have to be patched in order to work in different distros. Ideally, the compiler can be passed to configure (e.g. /configure CSC=mono-csc).
Comment 1 Mikayla Hutchinson [MSFT] 2011-10-03 07:59:16 UTC
That's not good, it would be bad to try to invoke gmcs and to get dmcs.

Anyway, this problem would be better resolved by using with the new "mcs" compiler in Mono 2.10 that can target all frameworks.
Comment 2 Marek Safar 2011-11-15 11:34:00 UTC
The upcoming Mono 2.12 will have mcs compiler only which should be called first
Comment 3 Marius Ungureanu 2013-11-23 10:27:39 UTC
Can this be closed?
Comment 4 Mikayla Hutchinson [MSFT] 2013-11-23 15:15:13 UTC
We now use xbuild, which allows overriding csc. That said, configure still checks for gmcs, which is wrong.