arm-linux-gcc hello.c –o hello //把c文件编译成可执行文件hello.out arm-linux-gcc -Wall -c -o hello hello.c //只编译不链接 只是得到.o文件