CSWs cannot index soft links outside the code tree to solve the problem. Background: Why do I have to use CSWs? Do not use ctags?
Although ctags can index soft links, ctags cannot find "callers". For example, you want to see where a function is called ,. etc 1, uninstall cscope2, download cssag source code: [html] http://sourceforge.net/projects/cscope/files/cscope/15.8a/ p.s I downloaded 15.8a, In debian sid use normal 3, modify as follows: [html] diff -- git a/src/dir. c B/src/dir. c index cf9330d .. e73d86f 100644 --- a/src/dir. c ++ B/src/dir. c @-651,7 + 651,7 @ accessible_file (char * file) if (access (compath (file), READ) = 0) {struct stat stats; -if (lstat (file, & stats) = 0 + if (stat (file, & stats) = 0 & S_ISREG (stats. st_mode) {return YES;} Cause: man stat () stats the file pointed to by path and fills in buf. lstat () is identical to stat (), doesn t that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.4, the following is a general method: [html]. /configure make-jN sudo make install 5. Try the following: [html] find-L. | grep-E '\. c $ | \. h $ | \. S $ | \. cpp $ | \. java $ | \. lds $ | \. ld * | \. chh $ | \. cc $ '> cscope. files cscope-Rbqk 6, vim ....