摘要: 1. linux下编译C程序使用cc gcc g++ 编译C++程序使用 g++。2. 调试程序使用gdb。3. 调试过程主要参考以下两篇文章:http://blog.csdn.net/haoel/article/details/2879http://blog.csdn.net/haoel/article/details/28804.今天在Linux上用GDB进行程序调试的时候,发现提示:No symbol table is loaded. Use the "file" command.导致这个错误的原因一般是:在交叉编译时没有加-g选项.所以在编译程序时一定要注意加上-g 阅读全文
posted @ 2012-08-27 09:56 kasuosuo 阅读(269) 评论(0) 推荐(0) 编辑