While not strictly static linking, I think mkbundle will do what you need: http://www.mono-project.com/Guide:Running_Mono_Applications#Bundles_.28Linux_only.29
A "real" linker would need to do the static analysis on the assemblies to remove unused code, but this some caveats in mono/.NET since reflection can be used to invoke code and cannot be detected by static analysis. I suppose mcs, Cecil (http://www.mono-project.com/Cecil) and the mkbundle source are all good things to review if you want to write a real linker. If you do plan to take on such a project please let me know, I'd be interested in lending a hand. Colin JN Breame wrote: > I know this is probably pretty far fetched, but is it possible to statically > link an exe to all it's (non-mono) dll dependants? > > What I'd like to do is run something like "make deploy" that collects all > dependants so I only have to deploy a single exe file. > > If this doesn't exist, how would one go about writing something like this? > > Colin. > _______________________________________________ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list