[Mono-list] Using mono aot / aot-full compilation: nothing appears to happen?
Alan
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.
Alan
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
> all
> >> of
> >> the GPL/LGPL restrictions affect that as I should be, so I'll have to
> dig
> >> 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
> looked
> >> 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
> set
> pretty heavily in getting it to a fully native binary. I may need to
> explore other avenues.
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Using-mono-aot-aot-full-compilation-nothing-appears-to-happen-tp4010058p4013526.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20111107/4dbf8170/attachment-0001.html
More information about the Mono-list
mailing list