添加软件源deb http://ftp.cn.debian.org/emdebian/toolchains unstable main
deb http://ftp.cn.debian.org/debian wheezy main
然后禁止掉 ubuntu系统的其他软件源 为了防止冲突
然后安装 xpat : sudo apt-get install xpat
然后安装:sudo xapt -a armhf -m libstdc++6-4.6-dev -y --force-yes
suso aptitude install gcc-4.6-arm-linux-gnueabihf g++-4.6-arm-linux-gnueabihf
ok了,交叉编译工具构建完毕