为 arm 交叉编译单声道 [英] Cross compile mono for arm
本文介绍了为 arm 交叉编译单声道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人在没有scratchbox或qemu的情况下成功地在Linux下为ARM交叉编译mono?
Has anyone successfully cross-compiled mono for ARM under Linux without scratchbox or qemu?
(可能使用 distcc 或一些交叉编译器工具链)
(maybe with distcc or some cross-compiler toolchain)
推荐答案
我使用 CodeSourcery Lite 工具链在 Ubuntu 机器上安装了 Scratchbox 2,成功地交叉编译了 mono(2.0, 2.4, 2.6, 2.8, 2.10.1).我使用了 Mono 项目页面中的文章.
I managed to cross compile mono(2.0, 2.4, 2.6, 2.8, 2.10.1) with Scratchbox 2 installed on a Ubuntu machine using CodeSourcery Lite tool chain. I used the article from the Mono project page.
先在本机编译
./configure
$ make
$ make install DESTDIR=path
然后在 sb2 中:
[sbox-ARMEL: ~] > ./configure --disable-mcs-build
[sbox-ARMEL: ~] > make
[sbox-ARMEL: ~] > make install DESTDIR=path
我用它来配置
./configure --enable-minimal=profiler,debug,logging,soft_debug --with-tls=--with-tls=__thread --with-monotouch=no --without-mcs-docs --disable-mono-debugger CFLAGS=-DARM_FPU_NONE --disable-mcs-build
这篇关于为 arm 交叉编译单声道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文