2011-02-10 65 views

回答

2

我设法越过安装使用CodeSourcery的精简版工具Ubuntu机上的Scratchbox 2编译单(2.0,2.4,2.6,2.8,2.10.1)链。我使用了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 
+1

嗯我试过./configure --disable-mcs-build,但我失败了很多未定义的引用,我明天会测试你的配置 – Gobliins 2011-03-04 15:03:29

2

我试了又试,并与scratchbox2上次尝试晚上..遇到了一些问题..结束了只是编胳膊,走得很好!花了30分钟!

CFLAGS=-DARM_FPU_VFP_HARD HardFloat 
CFLAGS=-DARM_FPU_VFP_NONE SoftFloat 

编译PC上从/ tmptree在单声道

sudo make install `directory like /tmptree etc` 

移动所有这些文件到/ etc你的手臂设备上。

./autogen.sh --disable-mcs-build 
make CFLAGS=-DARM_FPU_VFP_HARD 
sudo make install 
sudo ldconfig 

Mono Hard Float Patch

想这样做很难用单3.0.3浮动..它说,它不支持它。