[root@localhost client]# export PATH=/opt/crosstool/mipsel-linux/bin/:$PATH
查看是否配好
[root@localhost client]# env
PATH=/opt/crosstool/mipsel-linux/bin/
[root@localhost client]# mipsel-linux-gcc -o a a.c
bash: /opt/crosstool/mipsel-linux/bin/mipsel-linux-gcc: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
执行以下语句就解决了
[root@localhost client]# sudo yum install glibc.i686 www.cit.cn
本文转自 Linux_woniu 51CTO博客,原文链接:http://blog.51cto.com/linuxcgi/1965338