[Mono-dev] Mono embedding on win32

Robert Jordan robertj at gmx.net
Fri Feb 29 12:27:09 EST 2008


Hi Wade,

Wade Berrier wrote:
> Hi,
> 
> I've had some requests to ship a .lib file in the windows installer in
> order to embed the mono runtime on windows.
> 
> I found this information:
> 
> http://cygwin.com/ml/cygwin/2006-01/msg00667.html
> 
> We're already shipping libmono.dll.a .  (I do run strip --strip-unneeded
> on it, although I'm not sure that affects it.)  According to the above
> post, it appears that the .dll.a can be renamed to a .lib file.
> 
> What else is missing?  Is the above for static importing only?  How is
> the dynamic import lib generated?
> 
> Is anyone embedding Mono on win32.  If so, care to provide some details,
> and what possible changes are needed in the installer?

Run lib.exe (it comes with VS.NET) on mono/msvc/mono.def.

Robert



More information about the Mono-devel-list mailing list