[Mono-dev] AOT Mono.WebBrowser.dll under ARM Embedded Linux environment problem

Rodrigo Kumpera kumpera at gmail.com
Tue Jan 18 07:42:43 EST 2011


Do you really need full aot on your target? It should be avoided when
possible since a lot of stuff doesn't work under it.

On Tue, Jan 18, 2011 at 1:17 PM, Daniel M <chookieeee at hotmail.com> wrote:

>  Hi All,
>
> Wondering if it is possible to AOT just a section of the Mono framework
> (and ignore parts of the framework i will not use???).
>
> I have mono 2.8 release cross compiled for ARM platform. Attempting to do
> AOT compilation. Binaries seem to compile fine until I hit the
> Mono.WebBrowser binary. I get the following two messages on my output
> repeatedly:
>
>
> Invoking method
> 'System.Runtime.InteropServices.InterfaceTypeAttribute:.ctor
> (System.Runtime.InteropServices.ComInterfaceType)' when running in no-exec
> mode.
>
>
> Invoking method 'System.Runtime.InteropServices.GuidAttribute:.ctor
> (string)' when running in no-exec mode.
>
>
> I neither have mozilla, gecko, nor webkit on my embedded system, so im
> assuming the errors are relating to this?? I will never use this DLL, wont
> need it, so is there a way i can skip it?
>
>
> When i run my simple windows forms test app:
>
> mono --full-aot testapp.exe
>
> I get the error:
>
> Can't use AOT image
> '/usr/lib/mono/gac/Mono.WebBrowser/0.5.0.0__0738eb9f132ed756/
> Mono.WebBrowser.dll.so' in aot-only mode because it is not compiled with
> --aot=full.
>
>
> Any help here would be greatly appreciated.
>
> Thanks,
>
> Dan
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110118/bd6c07a7/attachment.html 


More information about the Mono-devel-list mailing list