Updated the makefile to work with ubuntu's Monodevelop install #2

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

crowell commented Oct 31, 2012

ubuntu by default uses dmcs instead of gmcs, I've added checks to see if dmcs exists.
If dmcs doesn't exist, I continue to use gmcs.

@crowell crowell fixed makefile to use dmcs or gmcs
ubuntu by default uses dmcs instead of gmcs, I've added checks to see if dmcs exists.
If dmcs doesn't exist, I continue to use gmcs.
929b8fe

crowell commented Nov 7, 2012

without this, the mwf designer doesn't build on Mint/Ubuntu/some other distros. Let me know if there is anything else that is needed to get this in.

Jeff

crowell added some commits Jan 7, 2014

@crowell crowell update Makefile to use mcs first, then fall back to older compilers
mcs is the ideal compiler, but if we have to, let's use gmcs or dmcs
0d9344d
@crowell crowell fix search for dmcs 78e005f

I had this problem too, make was failing with this error:

MCS_COLORS=disable gmcs -debug -r:System.Design,System.Windows.Forms,System.Drawing,System.Data,deps/ICSharpCode.NRefactory.dll -out:build/mwf-designer.exe src/.cs src//.cs src///.cs
/bin/sh: 1: gmcs: not found

And I also had a trouble installing gmcs with apt-get (I'm using newer version of mono):
mono-gmcs : Depends: mono-mcs (= 3.12.1-0xamarin1) but 4.2.1.102-0xamarin1 is to be installed

So instead of manually installing gmcs I decided to s/gmcs/mcs/ in Makefile in order to make "make" work.

crowell commented Jan 8, 2016

@mzavoloka I think this project is dead :/ this pr is over 3 years old now. Also the new mono c# compiler is mcs which supersedes gmcs and dmcs http://www.mono-project.com/docs/about-mono/languages/csharp/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment