我有不同的C#应用程序,应该在Android设备上运行 . (ARMv7)(我不想用Xamarin编写应用程序 . )
首先,我尝试使用两个不同的工具链(codesourcery和ndk-standalone-toolchain)编译mono 3.2.0和mono 2.11.4
./configure -disable-mcs-build -host = arm-linux-androideabi -target = arm-linux-androideabi -disable-boehm --with-sigaltstack = no CFLAGS =“ - march = arm7-a -mfloat-abi = softfp -mfpu = neon“
编译过程已成功完成,但二进制文件不可执行 . (chmod是777)
“file mono-sgen”的输出是ELF 32位LSB可执行文件,ARM,版本1(SYSV),动态链接(使用共享库),用于GNU / Linux 2.6.16,不剥离
当我想执行mono-sgen时:
./mono-sgen sh:./ mono-sgen:没有这样的文件或目录
我也尝试使用单声道文档中提到的scratchbox来构建它,但它也没有用 . 任何想法或提示?
1 回答
根据the last blog posts of this Xamarin engineer,您需要Mono master(而非3.2)才能获得许多精彩的Mono ARM改进 .