[Mono-list] mono bootstrap completed

Paolo Molaro lupus@ximian.com
Tue, 16 Jul 2002 20:06:49 +0200

I just did a complete bootstrap of the mono compiler _and_
core library on my GNU/Linux system using the mono runtime.
All the stuff you need should be in cvs by the time you read this mail.
You'll need to get the latest sources of the compiler, of the runtime
and of the C# libraries and you need to compile and install them as

To compile corlib go to the mcs/class/corlib directory and run:
	mcs @unix.args
You should get a newly built corlib in mcs/class/lib/corlib_mcs.dll:
install it overwriting the csc-compiled corlib (in
/usr/local/lib/corlib.dll). Note, you need to use the mono runtime to
compile corlib, since the MS runtime has a few bugs and can't cope with it.

Then proceed to bootstrap mcs the usual way and with the new
completely mono-compiled mcs, recompile corlib again.

Rinse, lather and repeat at will:-) I did it at least 5 times to make
sure I wasn't dreaming:-)
We'll change the makefiles to automate this in the next few days.

Of course, if you find bugs, please report them to bugzilla.ximian.com.
Success reports are welcome, too:-)

Special thanks to Miguel for helping tracking and for fixing a few tricky 
mcs bugs, Dietmar for helping with the jit issues (and for writing the 
jit in the first place: it helps a lot being able to compile code so fast:-)
and Martin that laid out the framework so that mcs could compile corlib.

Happy hacking.


lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better