arm的交叉编译单声道 [英] Cross compile mono for arm

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

问题描述

有没有人在没有 Scratchbox 或 qemu 的情况下在 Linux 下成功为 ARM 交叉编译单声道?

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屋!

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