[Mono-osx] error with AOT compile on MonoMac
Eric Vandenberg
ericsv at live.com
Mon Feb 27 05:16:24 UTC 2012
I'm new to Mono framework (as well as Mac development in general) and am evaluating Mono for cross platform development between Windows and Mac. Eventually will want to branch out to other mobile devices (iPhone and Android).
One requirement we have is to keep our deployments as light weight as possible (i.e. avoiding deploying extra packages and versioning issues / may be dependent on…) For this reason i'm looking at using the AOT compiler and/or bundling everything into a single deployment package.
When running the AOT option I get an error message that 'as' command not found. Any idea where the 'as' (assembler) is located and where it gets set up?
rics-MacBook-Pro:Debug ericvandenberg$ mono --aot TestApp.exe
Mono Ahead of Time compiler - compiling assembly /Users/ericvandenberg/Projects/TestApp/TestApp/bin/Debug/TestApp.exe
Code: 1514 Info: 45 Ex Info: 30 Unwind Info: 37 Class Info: 30 PLT: 19 GOT Info: 290 GOT: 156 Offsets: 94
Executing the native assembler: as -arch i386 -W -o /var/folders/bh/8078t6q17qv6gzvp72zsrjjh0000gn/T/mono_aot_sb17Ot.o /var/folders/bh/8078t6q17qv6gzvp72zsrjjh0000gn/T/mono_aot_sb17Ot
sh: as: command not found
AOT of image TestApp.exe failed.
Any help would be appreciated.
Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20120226/1fcbb755/attachment.html>
More information about the Mono-osx
mailing list