2013년 4월 23일 화요일

How to install cscope for Mac OS X

cscope introduce

Cscope is a developer's tool for browsing source code. It has an impeccable Unix pedigree, having been originally developed at Bell Labs back in the days of the PDP-11. Cscope was part of the official AT&T Unix distribution for many years, and has been used to manage projects involving 20 million lines of code!
In April, 2000, thanks to the Santa Cruz Operation, Inc. (SCO) (since merged with Caldera), the code for Cscope was open sourced under the BSD license.

install

Download from http://sourceforge.net/ (latest: cscope-15.8a) and in src/constants.h, change this line:
#if (BSD || V9 ) && !__NetBSD__ && !__FreeBSD__
To:
#if (BSD || V9 ) && !__NetBSD__ && !__FreeBSD__ && !__APPLE__
Then run:
$ configure
$ make
$ make install
You can find cscope in /usr/local/bin/

댓글 없음:

댓글 쓰기