ubuntu 使用arm-linux-gcc提示,明明工具存在,而且环境变量也设置好了
/opt/FriendlyARM/toolschain/4.4.3/bin//arm-linux-gcc: 15: exec: /opt/FriendlyARM/toolschain/4.4.3/bin/.arm-none-linux-gnueabi-gcc: not found
file /opt/FriendlyARM/toolschain/4.4.3/bin/.arm-none-linux-gnueabi-gcc
/opt/FriendlyARM/toolschain/4.4.3/bin/.arm-none-linux-gnueabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=07b2409f8703af43f9018f5864fb10bbafe9039e, not stripped
工具是32位的,系统是64位的,需要安装32位的库
apt install lib32ncurses5 lib32z1
ubuntu 18.04 32位库包名字改了