How can I install cscope for Mac OS X 10.6? I have installed XCode but I don't see cscope in /opt/local/bin.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With