Using Zeus with Mono
Posted: Tue Aug 12, 2014 11:16 am
Below are the steps to getting Zeus to work with the Mono C# compiler.
More details of that compiler can be found here: http://www.mono-project.com/docs/about- ... es/csharp/
1) Download and install Mono for Windows from here:
http://www.go-mono.com/mono-downloads/download.html
The installer should be run in the default folder location:
2) Make sure this bin folder is in the PATH:
Changing the PATH is done by opening the Windows Control Panel, selecting the System icon and using the Environment button found in the Advanced settings.
To test the PATH setting, start Zeus, use the Tools, DOS Command Line menu and type in this command line:
3) Start the Zeus editor, edit the C# Document Type using the Options, Editor Options menu and in the Compiler section use the following as the compiler command line:
4) Create the following c:\temp\Hello.cs file to test out the compiler:
5) With that file as the active document run the Zeus compile and the result should be the following executable:
6) To run the executable first create the following tool inside Tools section of the C# Document Type:
With the c:\temp\Hello.cs as the active file, you will be able to run the matching executable using this new tool menu. After running the executable you should see this output captured inside Zeus:
Cheers Jussi
More details of that compiler can be found here: http://www.mono-project.com/docs/about- ... es/csharp/
1) Download and install Mono for Windows from here:
http://www.go-mono.com/mono-downloads/download.html
The installer should be run in the default folder location:
Code: Select all
C:\Program Files\Mono-3.2.3
Code: Select all
C:\Program Files\Mono-3.2.3\bin\
To test the PATH setting, start Zeus, use the Tools, DOS Command Line menu and type in this command line:
Code: Select all
mcs.bat -?
Code: Select all
mcs.bat $fn
Code: Select all
using System;
public class HelloWorld
{
static public void Main ()
{
Console.WriteLine ("Hello Mono World");
}
}
Code: Select all
Directory of c:\temp
12/08/2014 07:28 PM 3,072 hello.exe
Code: Select all
Menu: Run '$fb.exe'
Program: mono.exe $fb.exe
Capture Stdout and stderr
Code: Select all
Hello Mono World