473,722 Members | 2,205 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to scan linked source directory using cscope

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
2 3195
In article <11************ **********@l77g 2000hsb.googleg roups.com>,
<su******@dream wiz.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
su******@dreamw iz.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1293
by: rusttree | last post by:
I've been tasked with a project to take a large program coded in c++ and a generate a list of the names of every variable and where they are declared. Are there programs out there that will do something like that? If this is a snippet of code: void someFunction(){ int foo; char bob;
2
2904
by: Internet Arrow Limited | last post by:
Hi, I have a requirement to write an access application that must run under access97 and access2K. Some users will use Acess2K to access data that will also be accessed by Access97 users. The source data must therefore remain in Access97 format The user community has a mixture of access97 on WinNT; access2K on winNt and access2K on win2K.
6
16442
by: Xing Xu | last post by:
Hi guiders, sorry , since I don't know which group suit for this question,I just post this question at these group. As we know , we can get the run-time call graph by some proved tools . now I have a problem about the extract call graph from statice C source code , not from binary. I have try to use cscope and write some perl script for it .
5
3241
by: johnwayne83 | last post by:
This is my first semester in c++ and i took java last semester. I need some help and i really cant find any information that has helped me or to point me in the right direction. I am using Visual c++ 2005 Express edition and i was wondering how to scan a directory that the user inputs the path and the program scans that directory and gets the file names only. i wrote a program to copy from files and i need to scan the directory that...
7
6711
by: kenton.wilson | last post by:
Hi, I was wondering if someone might know of any C++ source code viewers for linux / unix that are also free. I just want something that will allow me to explore the class, function, and variable relationships within my source. I don't really want an "army swiss knife" IDE, i.e. something that has a builtin editor, scm interface, build system, etcetera. TIA,
7
1527
by: PAolo | last post by:
Hi, I'm reading a quite big program (written by someone else), and I need to navigate the code, that is find the function definition by the name, and possibly find the #defines for a given expression too. I know that vim can do it with ctags, and emacs too, but I can't use emacs, and I find vim is not user friendly enought for such a task. I use Eclipse, but it seems to fail to find the function definition. Can you suggest me a tool...
6
4156
by: tgnelson85 | last post by:
Hello, C question here (running on Linux, though there should be no platform specific code). After reading through a few examples, and following one in a book, for linked lists i thought i would try my own small program. The problem is, I seem to be having trouble with memory, i.e. sometimes my program will work and display the correct output, and sometimes it will not and display garbage (in a printf call) so i assume i have been using...
3
4581
by: =?Utf-8?B?RGF2aWRN?= | last post by:
Hi, does anyone know if I can scan a subdirectory using wildcards? I do not see a way to do this using: string folder = @"C:\INPUT\CUSTOMERS\ID???BC.*" DirectoryInfo di = new DirectoryInfo(folder); FileInfo fileNames = di.GetFiles("AllInput_*.xml"); Basically, I have lots of foldres under C:\INPUT\CUSTOMERS and I want to the
2
6998
by: franc sutherland | last post by:
Hello everyone, I am using Access 2003. In my database there is a table which is linked to an excel spreadsheet. When I move the mdb file to someone else's computer the spreadsheet will be in a different location. A location which I can not access from my own PC when designing the database, so can not use the Linked Table Manager to update the link. I need to find a way of telling the database where the source spreadsheet for the...
0
8860
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
8738
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9381
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9234
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9086
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5994
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2600
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2146
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.