构建arm-linux-gcc交叉编译环境。
工具/原料
操作系统:ubuntu 14.04 64位 构建arm-linux-gcc交叉编译环境,可以编译 .c 文件
方法/步骤
注意事项
2. 问题:查看arm-linux-gcc –v时,显示出了版本,但是用其编译hello.c时,显示error while loading shared libraries:libraries:libstdc++.so.6:cannot open shared object file:No such file or directory 解决办法:原因是系统是Ubutun14.04 64位的,不兼容。所以要额外的安装sudo apt-get install lib32stdc++6;