[[email protected] client]# export PATH=/opt/crosstool/mipsel-linux/bin/:$PATH
查看是否配好
[[email protected] client]# env
PATH=/opt/crosstool/mipsel-linux/bin/
[[email protected] 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: 没有那个文件或目录
执行以下语句就解决了
[[email protected] client]# sudo yum install glibc.i686 www.cit.cn
时间: 2024-10-12 19:04:28