64位Linux系统跑32位程序,arm-linux-gnueabi-gcc: error trying to exec ‘cc1’解决
arm-linux-gnueabi-gcc: error trying to exec ‘cc1’: execvp: 没有那个文件或目录
因为我的系统是Linux 64位的,而以上运行的程序是32位的。解决办法,安装lib32ncurses5 lib32z1 lib32stdc++6:
sodu apt-get install lib32z1
sudo apt-get install lib32ncurses5
sudo apt-get install lib32stdc++6