***SPAM*** cscope

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

***SPAM*** cscope

frank-24
Hi,
Is it true that cscope is not shipped with vim? I am using vim6.3 but
find :cs doesn't work.

thanks!
Reply | Threaded
Open this post in threaded view
|

Re: ***SPAM*** cscope

Charles E Campbell Jr
frank wrote:

> Is it true that cscope is not shipped with vim? I am using vim6.3 but
> find :cs doesn't work.

True, cscope isn't shipped with vim.  Vim does provide an interface to
it, however (:help cscope).

Regards,
Chip Campbell

Reply | Threaded
Open this post in threaded view
|

Re: ***SPAM*** cscope

R Sam
In reply to this post by frank-24
Hi frank,

cscope is usually shipped with all unix/linux distributions.
Do :help cscope to find out how to use it.

I usually have mappings to the following:

:!cscope -b "to create the cscope.out file

and
:cs add cscope.out "to make the connection

Hope this helps.
-Sam
On 10/31/05, frank <[hidden email]> wrote:
> Hi,
> Is it true that cscope is not shipped with vim? I am using vim6.3 but
> find :cs doesn't work.
>
> thanks!
>
Reply | Threaded
Open this post in threaded view
|

Re: ***SPAM*** cscope

Charles E Campbell Jr
R Sam wrote:

>cscope is usually shipped with all unix/linux distributions.
>Do :help cscope to find out how to use it.
>  
>

Well, its not on Fedora Core 4  (aka RedHat)!

Regards,
Chip Campbell
Reply | Threaded
Open this post in threaded view
|

Re: ***SPAM*** cscope

R Sam
Oh ok! I have not yet installed Fedora core though I have downloaded the 64-bit
version of it. I am waiting to build me an AMD-64 bit machine to then
install Fedora
on it :)

I think you can also download cscope and install it if it is not
already on your system.
Thanks,
-Sam

On 10/31/05, Charles E. Campbell, Jr. <[hidden email]> wrote:

> R Sam wrote:
>
> >cscope is usually shipped with all unix/linux distributions.
> >Do :help cscope to find out how to use it.
> >
> >
>
> Well, its not on Fedora Core 4  (aka RedHat)!
>
> Regards,
> Chip Campbell
>
Reply | Threaded
Open this post in threaded view
|

***SPAM*** Re: ***SPAM*** cscope -- help still needed

frank-24
Hi,
I just finished installation of cscope on cygwin. That was a pain. It
took me hours to figure that out.  I didn't install bison, flex,
libcursese-dev packages, which are not installed by default but required
for cscope compilation.

and now, I got another problem.
cscope is not recognized in vim.  ( my version is VIM - Vi IMproved 6.4
(2005 Oct 15, compiled Oct 21 2005 13:43:01))
:cs returns  "sorry, the command is not supported in this version"

but my cscope has installed in /usr/local/bin
$ which cscope
/usr/local/bin/cscope

anyone might know where is the problem?
Thanks a lot!


R Sam wrote:

>Oh ok! I have not yet installed Fedora core though I have downloaded the 64-bit
>version of it. I am waiting to build me an AMD-64 bit machine to then
>install Fedora
>on it :)
>
>I think you can also download cscope and install it if it is not
>already on your system.
>Thanks,
>-Sam
>
>On 10/31/05, Charles E. Campbell, Jr. <[hidden email]> wrote:
>  
>
>>R Sam wrote:
>>
>>    
>>
>>>cscope is usually shipped with all unix/linux distributions.
>>>Do :help cscope to find out how to use it.
>>>
>>>
>>>      
>>>
>>Well, its not on Fedora Core 4  (aka RedHat)!
>>
>>Regards,
>>Chip Campbell
>>
>>    
>>
>
>  
>

Reply | Threaded
Open this post in threaded view
|

Re: ***SPAM*** Re: ***SPAM*** cscope -- help still needed

R Sam
Hi Frank,

In your vim window type :version
and see if you can find "+cscope" in the string it returns.

If you don't find it, you will have to recompile vim with this switch.
My vim came with
this switch compiled in.

Regards,
-Sam

On 10/31/05, frank <[hidden email]> wrote:

> Hi,
> I just finished installation of cscope on cygwin. That was a pain. It
> took me hours to figure that out.  I didn't install bison, flex,
> libcursese-dev packages, which are not installed by default but required
> for cscope compilation.
>
> and now, I got another problem.
> cscope is not recognized in vim.  ( my version is VIM - Vi IMproved 6.4
> (2005 Oct 15, compiled Oct 21 2005 13:43:01))
> :cs returns  "sorry, the command is not supported in this version"
>
> but my cscope has installed in /usr/local/bin
> $ which cscope
> /usr/local/bin/cscope
>
> anyone might know where is the problem?
> Thanks a lot!
>
>
> R Sam wrote:
>
> >Oh ok! I have not yet installed Fedora core though I have downloaded the 64-bit
> >version of it. I am waiting to build me an AMD-64 bit machine to then
> >install Fedora
> >on it :)
> >
> >I think you can also download cscope and install it if it is not
> >already on your system.
> >Thanks,
> >-Sam
> >
> >On 10/31/05, Charles E. Campbell, Jr. <[hidden email]> wrote:
> >
> >
> >>R Sam wrote:
> >>
> >>
> >>
> >>>cscope is usually shipped with all unix/linux distributions.
> >>>Do :help cscope to find out how to use it.
> >>>
> >>>
> >>>
> >>>
> >>Well, its not on Fedora Core 4  (aka RedHat)!
> >>
> >>Regards,
> >>Chip Campbell
> >>
> >>
> >>
> >
> >
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: cscope -- help still needed

James Vega-3
In reply to this post by frank-24
On Mon, Oct 31, 2005 at 12:13:12PM -0800, frank wrote:
> and now, I got another problem.
> cscope is not recognized in vim.  ( my version is VIM - Vi IMproved 6.4 (2005
> Oct 15, compiled Oct 21 2005 13:43:01))
> :cs returns  "sorry, the command is not supported in this version"

This probably means that your Vim wasn't compiled with support for
cscope.  You can confirm this with the following Vim command.

:echo has("cscope")

If that displays a 0, then your Vim wasn't compiled with support for
cscope.

James
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[hidden email]>

attachment0 (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: cscope -- help still needed

frank-24
James Vega wrote:

>On Mon, Oct 31, 2005 at 12:13:12PM -0800, frank wrote:
>  
>
>>and now, I got another problem.
>>cscope is not recognized in vim.  ( my version is VIM - Vi IMproved 6.4 (2005
>>Oct 15, compiled Oct 21 2005 13:43:01))
>>:cs returns  "sorry, the command is not supported in this version"
>>    
>>
>
>This probably means that your Vim wasn't compiled with support for
>cscope.  You can confirm this with the following Vim command.
>
>:echo has("cscope")
>
>If that displays a 0, then your Vim wasn't compiled with support for
>cscope.
>
>James
>--
>GPG Key: 1024D/61326D40 2003-09-02 James Vega <[hidden email]>
>  
>
You are right it didn't. (it displayed 0. and the :version contains
'-cscope'.)     -- thanks!