Linux C 源程序 编译连接生成 可执行文件

源程序 test.c

第一种 ,编译 gcc -c test.c -o test.o

              连接 gcc -o test test.o

第二种。

              编译连接

              gcc -o test test.c

运行

    ./test



猜你喜欢

转载自blog.csdn.net/cym_anhui/article/details/80715134