[Mono-dev] Problem with Ahead of Time Compilation on Windows because of 'as'

Zoltan Varga vargaz at gmail.com
Fri Feb 15 05:53:04 EST 2008


Hi,

--aot relies on GNU binutils package to assembly code. Try installing the
corresponding cygwin package.

          Zoltan

2008/2/13 Sean <seansf at myexoss.com>:
>
>
>
> I also posted the below here a few days ago but no one has responded.
>
> http://groups.google.com/group/MonoDeveloper/browse_thread/thread/ac9292bbb8ebb370/7df44991ea25ea20
>
> I cannot successfully run mono --aot on any assembly because it keeps
>  erroring out due to its inability to find the native assembler, as.
>  Here's an example from my x86 Windows XP box using Mono 1.2.6.  I get
>  the same thing on my x64 box.  However, I was able to get this to work on
> Suse Linux Enterprise Edition 9 without difficulty.
>
> mono --aot -O=all ChangelistApprovalTrigger.exe
>
> Mono Ahead of Time compiler - compiling assembly C:\p4dev\Triggers
>  \ChangelistApp
>  rovalTrigger.exe
>  Code: 1670 Info: 107 Ex Info: 34 Class Info: 30 PLT: 42 GOT Info: 30
>  GOT Info Of
>  fsets: 36 GOT: 116
>  Executing the native assembler: as  c:\temp\mono_aot_YAG45T -o c:\temp
>  \mono_aot_
>  YAG45T.o
>  'as' is not recognized as an internal or external command,
>  operable program or batch file.
>  Compiled 4 out of 4 methods (100%)
>  0 methods are generic (0%)
>  0 methods contain absolute addresses (0%)
>  0 methods contain wrapper references (0%)
>  0 methods contain lmf pointers (0%)
>  0 methods have other problems (0%)
>  Methods without GOT slots: 1 (25%)
>  Direct calls: 0 (0%)
>  GOT slot distribution:
>          image: 1
>          vtable: 7
>          ldstr: 20
>          type_from_handle: 1
>  AOT RESULT 0
>
> =======================================
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Sean
> _______________________________________________
>  Mono-devel-list mailing list
>  Mono-devel-list at lists.ximian.com
>  http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


More information about the Mono-devel-list mailing list