1. 安装scratchbox
(1) 添加软件源:
sudo vim /etc/apt/sources.list
最后一行添加
deb http://scratchbox.org/debian/ stable main
(2) 更新软件源
sudo apt-get update
(3) 安装软件包
sudo apt-get install scratchbox-core scratchbox-libs scratchbox-devkit-qemu
sudo apt-get install scratchbox-devkit-debian scratchbox-devkit-perl scratchbox-toolchain-arm-linux-cs2007q3-51sb3
也可在http://www.scratchbox.org/download/files/sbox-releases/stable/tarball/下载其它交叉编译工具包,并
cd /
tar -zxvf [交叉编译工具包路径] ./
(4) 禁止VDSO
sudo vim /
(1) 添加软件源:
sudo vim /etc/apt/sources.list
最后一行添加
deb http://scratchbox.org/debian/ stable main
(2) 更新软件源
sudo apt-get update
(3) 安装软件包
sudo apt-get install scratchbox-core scratchbox-libs scratchbox-devkit-qemu
sudo apt-get install scratchbox-devkit-debian scratchbox-devkit-perl scratchbox-toolchain-arm-linux-cs2007q3-51sb3
也可在http://www.scratchbox.org/download/files/sbox-releases/stable/tarball/下载其它交叉编译工具包,并
cd /
tar -zxvf [交叉编译工具包路径] ./
(4) 禁止VDSO
sudo vim /

本文详细介绍了如何使用Scratchbox在Linux环境下为ARM架构交叉编译Mono,包括安装Scratchbox,配置目标环境,编译托管和本地代码,以及运行和移植控制台程序。特别地,提到了在嵌入式Linux上考虑移植Qt-X11作为GUI选项。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



