[Mono-dev] Mono 2.6 / AOT on Windows with Cygwin 1.7
Zoltan Varga
vargaz at gmail.com
Thu Dec 17 12:17:34 EST 2009
Hi,
AOT is not currently supported on windows.
Zoltan
On Thu, Dec 17, 2009 at 6:13 PM, Dan Shechter <dans at houmus.org> wrote:
> Hi all,
> I'm trying to compile some simple SIMD examples (the one miguel posted
> a while back)
> using AOT on Mono on Windows.
>
> I have cygwin 1.7 installed, and therefore, as --version looks like this:
> $ as --version
> GNU assembler (GNU Binutils) 2.19.51.20090704
> Copyright 2008 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `i686-cygwin'.
>
> When I try to aot compile simple.cs:
> /c/dev/Mono/bin/mono --aot simple1.exe
>
> I get:
> Mono Ahead of Time compiler - compiling assembly
> C:\temp\simd-tests-1\simple1.exe
> Code: 3473 Info: 67 Ex Info: 79 Unwind Info: 54 Class Info: 173 PLT:
> 15 GOT Info: 247 GOT Info Off
> Executing the native assembler: as C:\TEMP\mono_aot_MWK34U -o
> C:\TEMP\mono_aot_MWK34U.o
> cygwin warning:
> MS-DOS style path detected: C:\TEMP\mono_aot_MWK34U.o
> Preferred POSIX equivalent is: /c/TEMP/mono_aot_MWK34U.o
> CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
> Consult the user's guide for more details about POSIX paths:
> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> C:\TEMP\mono_aot_MWK34U: Assembler messages:
> C:\TEMP\mono_aot_MWK34U:168: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:187: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:187: Error: junk at end of line, first
> unrecognized character is `P'
> C:\TEMP\mono_aot_MWK34U:193: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:204: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:204: Error: junk at end of line, first
> unrecognized character is `P'
> C:\TEMP\mono_aot_MWK34U:210: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:218: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:218: Error: junk at end of line, first
> unrecognized character is `P'
> C:\TEMP\mono_aot_MWK34U:224: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:235: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:235: Error: junk at end of line, first
> unrecognized character is `F'
> C:\TEMP\mono_aot_MWK34U:241: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:251: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:251: Error: junk at end of line, first
> unrecognized character is `F'
> C:\TEMP\mono_aot_MWK34U:257: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:263: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:263: Error: junk at end of line, first
> unrecognized character is `I'
> C:\TEMP\mono_aot_MWK34U:269: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:275: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:275: Error: junk at end of line, first
> unrecognized character is `E'
> C:\TEMP\mono_aot_MWK34U:281: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:292: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:292: Error: junk at end of line, first
> unrecognized character is `E'
> C:\TEMP\mono_aot_MWK34U:298: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:304: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:304: Error: junk at end of line, first
> unrecognized character is `R'
> C:\TEMP\mono_aot_MWK34U:310: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:336: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:336: Error: junk at end of line, first
> unrecognized character is `R'
> C:\TEMP\mono_aot_MWK34U:342: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:358: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:358: Error: junk at end of line, first
> unrecognized character is `R'
> C:\TEMP\mono_aot_MWK34U:364: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:383: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:383: Error: junk at end of line, first
> unrecognized character is `R'
> C:\TEMP\mono_aot_MWK34U:389: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:447: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:447: Error: junk at end of line, first
> unrecognized character is `R'
> C:\TEMP\mono_aot_MWK34U:453: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:459: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:459: Error: junk at end of line, first
> unrecognized character is `R'
> C:\TEMP\mono_aot_MWK34U:465: Error: unknown pseudo-op: `.local'
> C:\TEMP\mono_aot_MWK34U:471: Warning: .size pseudo-op used outside of
> .def/.endef ignored.
> C:\TEMP\mono_aot_MWK34U:471: Error: junk at end of line, first
> unrecognized character is `R'
> C:\TEMP\mono_aot_MWK34U:477: Error: unknown pseudo-op: `.local'
> ...........
>
> I've attached the generated temporary .s file in case this is useful
>
> Is there anything I'm doing that wrong here, or do I need another
> binutils version ?
> While on the subject, I think it would be nice to package mono with
> it's own stable / working binutils, so that
> people using mono on windows won't need to start dealing with cygwin /
> binutils / paths / environment...
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091217/45d3f462/attachment.html
More information about the Mono-devel-list
mailing list