[Mono-devel-list] Compiling to DLLs and then statically linking them into a PE
Peter Williams
peter at newton.cx
Sun Aug 31 20:10:13 EDT 2003
On Sun, 2003-08-31 at 19:14, Vladimir Vukicevic wrote:
> This is a tangent, but what prevents you from using make to compile your
> C# programs? You just end up skipping a step -- no .c -> .o ->
> executable, just straight .cs -> executable.
>
Well, you'd think that this would be a lot slower, since every time one
source file changes, you have to recompile all of them.
But because C# type definitions are stored in binary .dll files, not .h
files, compiling C# code is much faster than compiling C code. We use
Vlad's method to compile the C# class libraries; corlib, which is at
least 200kloc and probably much more, compiles in ~15 seconds on my
machine.
Peter
--
Peter Williams peter at newton.cx
"[Ninjas] are cool; and by cool, I mean totally sweet."
-- REAL Ultimate Power
More information about the Mono-devel-list
mailing list