[Mono-devel-list] mcs/tools compile order

Jaroslaw Kowalski jaak at zd.com.pl
Tue May 4 14:39:34 EDT 2004


Hi guys!

It's been third time in the last 7 days that I run into some problem with
building "mcs" from CVS because of "tools" problem (in most cases the errors
were null-pointer exceptions, but that's not important).

Looks like the updated tools (e.g. monoresgen) need to be compiled before
assemblies that need them for compilation.

The problem can be manually resolved by:

$ cd mcs/tools && make && make install

Would it possible to modify the build script so that "mcs/tools" would get
compiled before (portions of) "mcs/class" and class compilation would
reference the just-compiled tools (from ../../tools/..) instead of the
installed ones (/usr/bin) ?

I also suggest that for maximum consistency there should be a timestamp
dependency between an assembly and all tools used to produce it so that the
assembly would be rebuilt each time the tool is updated.

Jarek




More information about the Mono-devel-list mailing list