参考一下这篇文章,http://blog.csdn.net/flyingcys/article/details/71351746
实测照做是可以的,不过你那个ubuntu的版本会不会太旧我就不知道了
有一步很关键sudo chmod 777 /opt/xtensa-lx106-elf,这个是取得权限用的
你的环境变量设置的有问题,不要引号。
profile或者userserprofile或者bashrc里export 来追加xtensa的路径到path就好。
比如:
#回到user目录 cd ~ #编辑userprofile, nano .profile
然后文件末尾添加,注意$PATH: 后面的路径填写你的实际路径。还有最初sdk编译xtensa-*的时候,不要用root权限编译,会导致后续使用过程中权限不足。
export PATH=$PATH:/opt/xtensa-lx106-elf-bin 希望对你有帮助。