1.gcc编译
gcc -c test.c test /*编译*/
./test /*运行*/
2.makefile学习,参考帖子跟我一起写Makefile
http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=408225
3.用GDB调试程序
http://wiki.ubuntu.org.cn/%E7%94%A8GDB%E8%B0%83%E8%AF%95%E7%A8%8B%E5%BA%8F
1.gcc编译
gcc -c test.c test /*编译*/
./test /*运行*/
2.makefile学习,参考帖子跟我一起写Makefile
http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=408225
3.用GDB调试程序
http://wiki.ubuntu.org.cn/%E7%94%A8GDB%E8%B0%83%E8%AF%95%E7%A8%8B%E5%BA%8F