[Mono-list] How to try out the compiler.
Miguel de Icaza
miguel@ximian.com
28 Dec 2001 19:51:41 -0500
Hey guys,
To try out the compiler, you can use the nightly snaphots (those that
will be out tonight at 10PM EST) or you can use AnonCVS (details are on
the web site).
Once you get it, in Windows, you have to go to the directory `mcs'
and type `make linux'. Ignore the errors of System.Web not building.
Once you have done this, you can try compiling various C# programs, like
this:
mcs program.cs
mcs --help shows the help information on arguments that you can pass
to mcs. Other interesting things to do include running the MCS test
suite:
cd mcs/tests
make
To compile the compiler with itself:
cd mcs/mcs
make res
mcs @response
The "make res" step only creates a response file that can be fed to
mcs (this is what I use when debugging).
Now, the resulting binary does not work yet, but we are on the case
;-)
Miguel.