工具链
- build-essential Informational list of build-essential packages
手册页
- manpages-dev Manual pages about using GNU/Linux for development
- glibc-doc GNU C Library: Documentation
- manpages-posix-dev Manual pages about using a POSIX system for development
以上所有工具/文档统一使用apt-get来安装。
IDE
-
从http://www.vim.org下载vim的源代码
-
下载编译vim所依赖的所有libs
$ sudo apt-get build-dep vim
- 从http://clewn.sourceforge.net下载vimgdb
- 按照vimgdb压缩包中的说明,给vim打补丁,编译生成可执行程序
交叉索引/自动补全
-
ctags
- 配合vim的code_complete插件实现函数的自动补全
*配合vim的OmniCppComplete插件实现C结构体成员的自动补全
-
cscope
-
代码阅读
-
代码交叉索引查找
# Find this C symbol
# Find this global definition
# Find functions called by this function
# Find functions calling this function
# Find this text string
# Find this egrep pattern
# Find this file
# Find files #including this file
-