源文件:
CROSS_COMPILE=/opt/cross_chain/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
CC = $(CROSS_COMPILE)g++
运行
./auto.sh: line 4: CROSS_COMPILE: command not found
./auto.sh: line 4: CC: command not found
分析:
在 sh 脚本中,CC= C R O S S C O M P I L E g + + 和 C C = {CROSS_COMPILE}g++ 和 CC= CROSSC