[Mono-list] Help regarding compiler

Fergus Henderson fjh@cs.mu.OZ.AU
Tue, 21 Oct 2003 18:35:03 +1000


On 20-Oct-2003, EBRAHIMI,NIMA <nimaeb@ucla.edu> wrote:
> I need a little help with the compiler. There's a command in the Windows C#
> called "Assembly Generation Tool", al.exe. This is what it does:
> 
> al /out:composite.dll A.dll B.dll C.dll and etc.
> 
> basically it integrates all the dll files into a SINGLE dll file.

Actually, that's not what it does.  The dll file that it generates
contains references to the other dlls.  It is not self-contained.
Rather than integrating a bunch of dlls into a single dll, what it
does is it converts a bunch of dlls into a multi-file assembly,
by generating a dll containing an assembly manifest which refers
to the other dlls.

To convert a bunch of dlls into a single dll, Microsoft's suggestion
is to use ildasm on all the dlls, concatenate the results, and run it
through ilasm.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.