[Mono-list] Using mono aot / aot-full compilation: nothing appears to happen?
alan.mcgovern at gmail.com
Mon Nov 7 18:32:46 EST 2011
Full AOT just means that absolutely everything will be precompiled,
including things which may negatively affect performance or binary size.
This is only useful for platforms which explicitly disallow jitting such as
iOS. Even should full AOT be supported on the desktop (and it's not
supported except on very a limited number of platform/architecture combos)
you still require mono to provide everything else like p/invokes, icalls
and garbage collection.
In short, AOT does not create a self contained app, it provides a way to
run an app without using the jit. mkbundle is one way to provide a self
contained app bundle, there are others.
On 7 November 2011 19:57, applepi <chrisddail at gmail.com> wrote:
> Robert Jordan wrote:
> > On 07.11.2011 19:34, applepi wrote:
> >> I'd not seen mkbundle. I'll have to look into that as well.. this is
> >> going
> >> into proprietary code for a customer and I'm not as brushed up on how
> >> of
> >> the GPL/LGPL restrictions affect that as I should be, so I'll have to
> >> into that somewhat.
> > You should dig into that as soon as possible, because both
> > '--aot=full' and 'mkbundle --static' require that you code
> > is licensed under the LGPL.
> >> What's the difference between --aot=full and mkbundle? --aot=full
> >> like it should produce a single binary as well..
> > Mkbundle does not AOT-compile. It's bundling the runtime together
> > with your assemblies and their dependencies into a fat binary.
> > --aot=full is an experimental feature.
> > Robert
> > _______________________________________________
> > Mono-list maillist - Mono-list at .ximian
> > http://lists.ximian.com/mailman/listinfo/mono-list
> This may end up being more of a problem than I thought. The customer is
> pretty heavily in getting it to a fully native binary. I may need to
> explore other avenues.
> View this message in context:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list