[Mono-list] mkbundle and cross compiling for ARM

mobin.seven mobin.seven at live.com
Thu Dec 5 14:53:45 UTC 2013


markcoburnwa wrote
> I am now trying to instruct mkbundle to generate a native ARM executable
> which bundles the mono executable, my mono app, and the class libraries it
> references.  I know mkbundle looks at the CC and AS environment variables
> so I set them beforehand to use the toolchain version.  Unfortunately, I
> get "unrecognized symbol type" assembler errors.
> 
> Compiling:
> /opt/arm-none-linux-gnueabi-as -o bundles.o temp.s 
> temp.s: Assembler messages:
> temp.s:4: Error: unrecognized symbol type ""
> temp.s:216076: Error: unrecognized symbol type ""
> temp.s:218568: Error: unrecognized symbol type ""
> temp.s:3084240: Error: unrecognized symbol type ""
> 
> The top of my temp.s file looks like this:
> 
> .globl assembly_data_myapp_exe
>         .section .rodata
>         .p2align 5
>         .type assembly_data_myapp_exe, @object
>         .size assembly_data_myapp_exe, 216064
> assembly_data_myapp_exe:
> 
>         .byte 77
>         .byte 90
>         .byte 144

This is because of '@' sign. just replace all '@'s with '%'.



--
View this message in context: http://mono.1490590.n4.nabble.com/mkbundle-and-cross-compiling-for-ARM-tp4659904p4661455.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list