I want to try to compile emacs using /CLR.

If I have 5 dozen different source code modules does this necessarily
translate to 5 dozen different DLLs? What does 5 dozen different dlls do to
image activation time?

Presently emacs compiles with MSVC6. The makefile first compiles and links a
program called temacs.exe. Then it runs a program called addsection that
edits the executable program to add a new section. Then the newly edited
temacs.exe loads and compiles a b(l)oat load of lisp programs which then
writes the compiled pCode to the section created by program addsection and
then writes a new executable with the compiled lisp code now in the
executable.

Whew! That is amazing! What is even more amazing is also works with the gcc
compile on windows and linux and dozens of other OSes.

So how would you alter the makefile compile with /CLR for Win2K?

Would you rewrite the lisp virtual machine to use the .NET VM and rewrite
the lisp compiler to produce MSIL and save the MSIL in dlls? Uggghhh... Is
there not an easier way?