On Jun 10, 2013, at 7:56 PM, markcoburnwa <mcob...@globalscape.com> wrote:
> Unfortunately, I get "unrecognized symbol type" assembler errors.

The problem is that there is not just one "style" of assembly. There are 
multiple styles, for varying conventions, in order to appease the default 
assembler for each platform.

When you run mkbundle on OS X, `mkbundle` will (by default) generate OS X-style 
assembly, which differs from Linux-style assembly, which differs from 
Windows-style assembly.

Fortunately, you can set this, using the undocumented --style option:

        
https://github.com/mono/mono/blob/master/mcs/tools/mkbundle/mkbundle.cs#L132

Thus:

        export CC="/opt/arm-none-linux-gnueabi-gcc-4.4.1"
        export AS="/opt/arm-none-linux-gnueabi-as"
        mkbundle --style linux -c -o myapp.c -oo bundles.o --deps myapp.exe 
--keeptemp

 - Jon

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to