交叉编译为单声道手臂 [英] Cross compile mono for arm

查看:306
本文介绍了交叉编译为单声道手臂的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人成功交叉编译单在Linux下没有ARM或Scratchbox的QEMU?

Has anyone successfully cross-compiled mono for ARM under Linux without scratchbox or qemu?

(可能与distcc的或者一些交叉编译工具链)

(maybe with distcc or some cross-compiler toolchain)

推荐答案

我设法越过安装使用codeSourcery精简版Ubuntu的机器上的Scratchbox 2编译单声道(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

这篇关于交叉编译为单声道手臂的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆