1.ctags (1)到 http://ctags.sourceforge.net/下载ctags源码ctags-5.6.tar.gz http://prdownloads.sourceforge.net/ctags/ctags-5.6.tar.gz (2)解压并安装 tar zxvf ctags-5.6.tar.gz cd ctags-5.6 ./configure && make && make install (3)使用 [/home/brimmer/src]$ ctags -R "-R"表示递归创建,也就包括源代码根目录下的所有子目录下的源程序。"tags"文件中包 括这些对象的列表: l 用#define定义的宏 l 枚举型变量的值 l...
by auro - Linux文档专区 - 2008-12-19 10:46:09 阅读(941) 回复(0)
首先安装cscope [root@cutbag sys]#tar jxvf cscope-15.7a.tar.bz2 [root@cutbag sys]#cd cscope-15.7a [root@cutbag sys]#./configure --prefix=/usr&&make&&make install 然后安装vim [root@cutbag sys]#tar jxvf vim-7.2.tar.bz2 [root@cutbag sys]#GUI_INC_LOC="" GUI_LIB_LOC="" CC="" CPPFLAGS="" CFLAGS="-O2 -pipe " LDFLAGS="" srcdir="." ./configure --enable-cscope --prefix=/usr [root@cutbag sys]#make&&make ins...
在HP9000上从源码用cc编译安装cscope15.6出错,错误如下: cc: "scanner.h", 84: 1584: , line : error yyleng: Inconsistent type declaration: "". cc: "scanner.c", 198: 604: , line : warning : Pointers are not assignment-compatible. cc: "scanner.c", 198: 563: , line : warning #1: Argument is not the correct type. cc: "scanner.c", 199: 604: , line : warning : Pointers are not assignment-compatibl...
在HP9000上从源码用cc编译安装cscope15.6出错,错误如下: cc: \"scanner.h\", 84: 1584: , line : error yyleng: Inconsistent type declaration: \"\". cc: \"scanner.c\", 198: 604: , line : warning : Pointers are not assignment-compatible. cc: \"scanner.c\", 198: 563: , line : warning #1: Argument is not the correct type. cc: \"scanner.c\", 199: 604: , line : warning : Pointers are not assignment...
rt.. vim.org下不下来 sourceforge似乎被墙了 有的大大们发一份给我哈 [email]skycool1984@gmail.com[/email]
先将ctags更新到最新版本: yum install ctags yum install ctags 现在我们到 http://www.vim.org/scripts/script.php?script_id=273 下载最新版本的taglist plugin,目前版本是4.3。 在Fedora10和Ubuntu9.10里没找到这两个文件夹,而是在/usr/share/vim/vim72里: plugin/taglist.vim – taglist插件 doc/taglist.txt - taglist帮助文件 plugin/taglist.vim – taglist插件 doc/taglist.txt ...
我用了cscope_maps.vim插件。改变了C-@映射为F5。
$vim aa.c
还是要我自己手动添加cscope.out(cs add cscope)。手动映射快捷建(map
目前就只能用这个鸟东西了,kscope搞不出来。。。。。 首先在目录下建立cscope索引文件 find -name '*.c' > cscope.file cscope -Rbkq 这个命令会生成三个文件:cscope.out, cscope.in.out, cscope.po.out。 其中cscope.out是基本的符号索引,后两个文件是使用"-q"选项生成的,可以加快cscope的索引速度。 上面所用到的命令参数,含义如下: -R: 在生成索引文件时,搜索子目录树中的代码 -b: 只生成索引文件,不进入cscop...
This is my first works, i want to configure cscope in my box, and use it to browse source code. you can follow the below steps if have the some idea with me. step 1: because i have installed cscope in my box, so if you haven't , please first google and then down it. step 2: cd to the source code directory, then execute below command: find $(pwd) -name "*.[ch]" >cs...