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 /etc/sysctl.conf
最后一行添加
vm.vdso_enabled = 0
vm.mmap_m
(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 /etc/sysctl.conf
最后一行添加
vm.vdso_enabled = 0
vm.mmap_m