源程序 test.c
第一种 ,编译 gcc -c test.c -o test.o
连接 gcc -o test test.o
第二种。
编译连接
gcc -o test test.c
运行
./test