make: arm-linux-gnueabihf-gcc: Command not found
这是交叉编译链没有设置或者交叉编译环境没有搭建好。
去看下V4.0的手册,一步一步的把环境搭建好了来。
book@100ask:~/source/dht11$ make
arm-linux-gnueabihf-gcc -nostdinc -fno-builtin -I/home/book/source/dht11/include -Wall -c -o start.o start.S
make: arm-linux-gnueabihf-gcc: Command not found
Makefile:28: recipe for target 'start.o' failed
make: *** [start.o] Error 127