[Mono-list] Newbie - How to invoke compiler after installing?

Jonathan Pobst monkey at jpobst.com
Mon Mar 2 15:36:24 EST 2009

> I've installed Mono 2.2 using the default installation parameters on
> my Wndows XP box. Then, at the command prompt, I tried changing to the
> compiler directory (the directory containing gmcs.exe) via:

The easiest way is to go to your Start Menu, and run the "Mono-2.2 
Command Prompt".  It will set up your environment for you.

Then just go to c:\MonoTest, and type:

gmcs -pkg:dotnet simple.cs.


More information about the Mono-list mailing list