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

Sean seansf at myexoss.com
Wed Feb 13 13:13:26 EST 2008


I also posted the below here a few days ago but no one has responded.
http://groups.google.com/group/MonoDeveloper/browse_thread/thread/ac9292bbb8
ebb370/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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080213/0b86ff18/attachment-0001.html 


More information about the Mono-devel-list mailing list