[Mono-list] Build to intermediate file?

J. Perkins jason@379.com
Fri, 26 Jul 2002 08:03:37 -0400

Miguel de Icaza wrote:
> You could do:
> mcs /target:module file1.cs
> mcs /target:module file2.cs
> mcs /target:exe file1.dll file2.dll /out:mybin.exe

That might be nice. I thought about this some more last night, and
I realized that mcs has to parse and build every file, every time,
right? Now I know *nothing* about compilers, so feel free to write
me off as an ignorant hack, but it seems you could get considerably
faster builds if you could write out some sort of raw IL, and then
merge a bunch of raw IL files together. That way, if a .cs file
hasn't changed, you don't have to parse it.

Anyway, just my $0.02. I'll get back to my learning curve now.