1)新立得cscope
2)更新.emacs 如下:
(setq cscope-do-not-update-database t)
(load-file "/usr/share/emacs/site-lisp/xcscope.el")
(require 'xcscope)
3)进入工作目录
myusernam@mycomputer:~/mycode$ cscope-indexer -r
4)用global definition
1)新立得cscope
2)更新.emacs 如下:
(setq cscope-do-not-update-database t)
(load-file "/usr/share/emacs/site-lisp/xcscope.el")
(require 'xcscope)
3)进入工作目录
myusernam@mycomputer:~/mycode$ cscope-indexer -r
4)用global definition