I use a shared web server (NearlyFreeSpeech.net, highly recommended!) running FreeBSD 7.2 and would love to write CGI scripts for it using C# but they have not installed Mono on there yet. If I use my own FreeBSD 7.2 box and compile my C# programs there, can I AOT compile my code and deploy the binaries on the Mono-less server?
I know multiple iPhone games are selling on the App Store and all of those are AOT compiled (to ARM). And the above referenced page says x86 and x64 are supported, but on my x86 Mac OS X Leopard Mono install I tried
sudo mono --aot /Library/Frameworks/Mono.framework/Versions/22.214.171.124/lib/mono/2.0/mscorlib.dll
sudo mono --full-aot /Library/Frameworks/Mono.framework/Versions/126.96.36.199/lib/mono/2.0/mscorlib.dll
and got the errors:
AOT compilation is not supported on this platform.
Failed to load AOT module '/Library/Frameworks/Mono.framework/Versions/188.8.131.52/lib/mono/2.0/mscorlib.dll.dylib' in aot-only mode.
respectively. I just don't want to put a lot of work into getting FreeBSD 7.2 + Mono 184.108.40.206 working and find out the same thing: AOT compilation is not supported, which is the only reason for caring about FreeBSD + Mono for me...