ChinaUnix.net
相关文章推荐:

cscope安装

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...

by T-bagwell - Linux文档专区 - 2009-11-17 12:47:27 阅读(1604) 回复(0)

在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...

by oprofile - HP-UX - 2009-07-26 12:28:56 阅读(2110) 回复(2)

在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...

by oprofile - HP-UX - 2008-11-14 14:59:28 阅读(3250) 回复(0)

rt.. vim.org下不下来 sourceforge似乎被墙了 有的大大们发一份给我哈 [email]skycool1984@gmail.com[/email]

by skycooluestc - C/C++ - 2008-11-05 09:45:37 阅读(2333) 回复(3)

先将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 ...

by giant1st - Linux文档专区 - 2009-09-13 15:51:35 阅读(1931) 回复(0)

安装了ncurses,然后安装cscope,还是不行,提示一些变量定义不正确。 在solaris和linux上安装都没有问题。 3ks

by dypflying - HP-UX - 2007-07-17 09:38:37 阅读(2531) 回复(0)

我用了cscope_maps.vim插件。改变了C-@映射为F5。 $vim aa.c 还是要我自己手动添加cscope.out(cs add cscope)。手动映射快捷建(map :cs find 3 ) 1.为啥插件不起作用。我看里边已经写了添加cscope.out数据库(if filereadable("/home/yuanfang/pojectdir/cscope.out"))。 2.映射快捷键中的find 3,find 2。这里的数字根据什么来的?我只是照猫画虎。 [ 本帖最后由 源方 于 2007-4-20 17:30 编辑 ]

by 源方 - C/C++ - 2007-04-23 12:42:35 阅读(1509) 回复(3)

目前就只能用这个鸟东西了,kscope搞不出来。。。。。 首先在目录下建立cscope索引文件 find -name '*.c' > cscope.file cscope -Rbkq 这个命令会生成三个文件:cscope.out, cscope.in.out, cscope.po.out。 其中cscope.out是基本的符号索引,后两个文件是使用"-q"选项生成的,可以加快cscope的索引速度。 上面所用到的命令参数,含义如下: -R: 在生成索引文件时,搜索子目录树中的代码 -b: 只生成索引文件,不进入cscop...

by iSUNnet - Linux文档专区 - 2009-10-02 15:55:49 阅读(775) 回复(0)

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...

by jazeltq - Linux文档专区 - 2009-06-04 11:26:22 阅读(966) 回复(0)

内核源码中有自带的make TAGS, make tags, and make cscope,这样生成以后用cscope可以很方便的浏览源码, 可是怎么用在浏览其他源码方面亚,谢谢!

by jazeltq - 内核源码 - 2009-06-04 17:12:03 阅读(1291) 回复(8)