How to scan linked source directory using cscope

S

sunset85

Hi.

I'm trying to scan linked source directory using "cscope"

In normal case (without linked source directory), "cscope -R " works
vety well.
But when linked source directory included, "cscope -R" wouldn't scan
that linked directoty.

What option should I use to scan linked source directory using
cscope ??
 
K

Kenny McCormack

Hi.

I'm trying to scan linked source directory using "cscope"

In normal case (without linked source directory), "cscope -R " works
vety well.
But when linked source directory included, "cscope -R" wouldn't scan
that linked directoty.

What option should I use to scan linked source directory using
cscope ??

As always:

Off topic. Not portable. Cant discuss it here. Blah, blah, blah.

Useful clc-related links:

http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language
 
R

Richard

Hi.

I'm trying to scan linked source directory using "cscope"

In normal case (without linked source directory), "cscope -R " works
vety well.
But when linked source directory included, "cscope -R" wouldn't scan
that linked directoty.

What option should I use to scan linked source directory using
cscope ??

The key is to create your cscope files at the top of their source
hierarchy.

Then link *them* to the top level of your programming directories. You
can then create project specific cscope files in the individual project
directories. cscope will automatically propagate up the directories
reading all cscope.out files it finds. It will eventually find the link
to the big "library" cscope.out files which you created earlier.

cscope is an invaluable aid in Linux to navigating the huge C codebase
IMO.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top