[Mono-list] Can't get Ahead-Of-Time compilation working

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Sep 28 14:02:16 EDT 2009


On Mon, Sep 28, 2009 at 1:55 PM, LKeene <lionel.keene at gmail.com> wrote:
> what is the trick to getting AOT working? From the documentation, I first
> invoke the compilation process via
>
> "mono --aot MyApp.exe", correct? But when I do so I get an error message,
> the heart of which says:
>
> " 'as' is not recognized as an internal or external command, operable
> program or batch file. AOT of image MyApp.exe failed."
>
> I've tried on both 2.2 and 2.4. What am I doing wrong? Thanks in advance.

You need to install the "as" assembler program.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-list mailing list