BSD Ports

devel/cscope 15.9 NetBSD

Interactive C program browser

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
original-bsd
Categories
devel
Package size
142.8 KiB, 772.7 KiB installed

Description

cscope is an interactive, screen-oriented tool that allows the user to browse through C source files for specified elements of code.

By default, cscope examines the C (.c and .h), lex (.l), and yacc (.y) source files in the current directory. cscope may also be invoked for source files named on the command line. In either case, cscope searches the standard directories for #include files that it does not find in the current directory. cscope uses a symbol cross-reference, cscope.out by default, to locate functions, function calls, macros, variables, and preprocessor symbols in the files.

cscope builds the symbol cross-reference the first time it is used on the source files for the program being browsed. On a subsequent invocation, cscope rebuilds the cross-reference only if a source file has changed or the list of source files is different. When the cross-reference is rebuilt, the data for the unchanged files are copied from the old cross-reference, which makes rebuilding faster than the initial build.

In the other systems

SystemPortVersion
NetBSDdevel/cscope15.9
FreeBSDdevel/cscope15.9_1
OpenBSDdevel/cscope15.9p1
DragonFlydevel/cscope15.9_1
MidnightBSDdevel/cscope15.9

Install

Binary package:

pkgin install cscope

From pkgsrc:

cd /usr/pkgsrc/devel/cscope && make install clean

Dependencies

Required by 1