By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,948 Members | 1,553 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,948 IT Pros & Developers. It's quick & easy.

How to scan linked source directory using cscope

P: n/a
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 ??

May 7 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In article <11**********************@l77g2000hsb.googlegroups .com>,
<su******@dreamwiz.comwrote:
>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

May 7 '07 #2

P: n/a
su******@dreamwiz.com writes:
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.

May 7 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.