(1)在当前目录新建一个测试程序,在里面写入Hello World!程序
#include<stdio.h>
int main(void)
{
printf("Hello World!\n");
}
(2)使用编译器编译
[root@localhost Downloads]# arm-linux-gcc -o test test.c
[root@localhost Downloads]# ls
arm-linux-gcc-4.4.3-20100728.tar.gz opt test test.c