[Mono-list] AOT compile a static library.
Rolf Bjarne Kvinge
rolf at xamarin.com
Fri Mar 23 10:51:11 UTC 2012
Hi,
On Fri, Mar 23, 2012 at 7:59 AM, Ergwun <geoffbattye at hotmail.com> wrote:
> Hi,
>
> Is it currently supported to use AOT compilation to create a static library
> from a .NET dll? I only know how to create a shared object file.
>
No, this is not supported, because there are a lot of things that needs to
happen behind the scenes for managed code to work properly (it's not just a
matter of "export a list of methods to C").
>
> The objective would be to then use this static library and a static libmono
> in a native application on iOS.
>
You can do the reverse: use native libraries in MonoTouch. This is
supported - and if you do it this way the only thing you actually need is
the managed Main method, there you can call your native library which does
everything else.
Rolf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120323/37853c31/attachment.html>
More information about the Mono-list
mailing list