AndroidBuild1—编译步骤
1、新建hello.c
#include<stdio.h>
void main()
{
printf("Hello first love!!\n");
}
2、gcc -c hello.c 生成hello.o文件
3、gcc -o target hello.o 生成target可执行文件
4、./target 
流程总结:
*.h *.c -预处理> *.i -编译> *.s -汇编> *.o -链接其他库> 可执行文件
1、新建hello.c
#include<stdio.h>
void main()
{
printf("Hello first love!!\n");
}
2、gcc -c hello.c 生成hello.o文件
3、gcc -o target hello.o 生成target可执行文件
4、./target 
流程总结:
*.h *.c -预处理> *.i -编译> *.s -汇编> *.o -链接其他库> 可执行文件