摘要: A.You need to install the glibc-devel package. It contains the object files necessary for developing programs which use the standard C libraries (which are used by nearly all programs). If you are developing programs which will use the standard C libraries, your system needs to have these standard . 阅读全文
posted @ 2012-03-16 22:53 zaleilynn 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 重新编译gccCFLAGS="-O3 -fPIC" ./configuremake && make install 阅读全文
posted @ 2012-03-16 22:35 zaleilynn 阅读(165) 评论(0) 推荐(0) 编辑
摘要: (本文章仅适用于C++程序)写服务程序时,如果需要提供命令行参数。传统的方法是手工解析argv参数,或者使用getopt函数。两种方法都比较费劲。使用Google gflags可以大大简化命令行参数处理。安装gflag从官方地址http://code.google.com/p/google-gflags/下载gflags并安装。比如我下载的是1.5版本。[yichi@yichi tmp]$ wgethttp://google-gflags.googlecode.com/files/gflags-1.5.tar.gz[yichi@yichi tmp]$ tar zxvf gflags-1.5.t 阅读全文
posted @ 2012-03-16 17:27 zaleilynn 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 一个符号有多的位置的时候,使用ctrl + ] 会跳到第一个位置,g + ] 会让你选择跳转到哪一个tag去的---------------------------------------------------------------这个还是太复杂----------------------------------------------------------[/home/brimmer/src]$ ctags -R"-R"表示递归创建,也就包括源代码根目录下的所有子目录下的源程序。"tags"文件中包括这些对象的列表:l 用#define定义的宏l 阅读全文
posted @ 2012-03-16 11:36 zaleilynn 阅读(219) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示