level 9
hejiannn
楼主
$ sudo apt-get install qemu-user-staticdebootstrap
$ sudo qemu-debootstrap --arch=armhf --foreign wheezy armhf http://ftp.cn.debian.org/debian
$ sudo LC_ALL=C chroot armhf /bin/bash
$ echo 'deb http://ftp.cn.debian.org/debian wheezy main' > /etc/apt/sources.list
$ echo 'nameserver 8.8.8.8' > /etc/resolv.conf
$ apt-get update
$ apt-get install clang
2013年02月09日 16点02分
1
$ sudo qemu-debootstrap --arch=armhf --foreign wheezy armhf http://ftp.cn.debian.org/debian
$ sudo LC_ALL=C chroot armhf /bin/bash
$ echo 'deb http://ftp.cn.debian.org/debian wheezy main' > /etc/apt/sources.list
$ echo 'nameserver 8.8.8.8' > /etc/resolv.conf
$ apt-get update
$ apt-get install clang