[Mono-list] Mono Embedded on iOS - AOT

Mr.Alex.Dr mr.alex.dr at gmail.com
Wed Sep 4 14:21:31 UTC 2013


Hi,

I know that it might be a silly question, but I spend around Google a few
days but still fill some misunderstandings...

Assuming the situation where I'd like to run my native code (c++) with
embedded mono for scripts on iOS. We all know that I have to precompile my
assemblies with AOT. That's where I got stuck... Since we link mono itself
with a native iOS project statically, all I have to do is to somehow make a
static lib precompiled for ARM. But what I really can't understand is how to
make my assemblies to be precompiled with AOT into ARM bytecode... This
assumes that mono binary should be compiled with ARM target. The only way I
can see now is to us Scratchbox, creating the ARM build of mono and run it
on a devkit emulating ARM box. Well, that, at least, how I understood it
from the official mono documentation. But, in this case I need Linux access
any time I'd like to reassemble my C# code with AOT that is not appropriate
at all. Well, ideally I'd like to have all assets for my app to be
precompiled on Windows, in the worst case - on Mac, but not on Linux at
all... 

Can anyone, please, pour some light on it, because it seems that I
completely missed some important point here... ?



--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-Embedded-on-iOS-AOT-tp4660753.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list