LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-22-2005, 04:29 AM   #1
subu_s
Member
 
Registered: Jun 2004
Posts: 36

Rep: Reputation: 15
Doubt regarding cscope


Hi,
I am not sure if this is the right place for this type of doubt.
Still, I will go ahead

I use cscope extensively.
I first create a source files path list by 'find . -name *.c > cscope.files'
Then I use cscope -i cscope.files
A cscope.out file gets created. However I do not know how to reuse that file for further invocations of cscope.
Hence everytime I have to use a "cscope -i cscope.files"
which takes a long time to build the symbol database.

Is there any way to use the cscope.out that was built the first time cscope.out was invoked?


Regds,
Subu
 
Old 02-22-2005, 08:47 AM   #2
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
if no files have been updated you can use cscope -d
if files have been updated use cscope This will update the cross references for files which have changed
if your cscope.out is in some other directory then use cscope -f pathToCscope.out
 
Old 02-25-2005, 01:02 AM   #3
subu_s
Member
 
Registered: Jun 2004
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks Zeropash(I m sorry, I do not know your actual name)

Ur method helped

Regds,
Subu
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt in C++ zeropash Programming 1 07-05-2005 12:33 PM
a doubt... ashesh Linux - General 6 09-08-2003 01:07 PM
Problem with Cscope install pvncad Linux - Newbie 2 05-09-2003 07:14 AM
doubt in gtk_timout_add ssatheesh Linux - General 0 03-12-2003 08:09 AM
DOUBT .- jordomi Linux - Distributions 2 08-23-2000 06:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration