如何在MacOS上使用Aquamacs设置cscope?

3

请问如何在MacOS上使用Aquamacs设置cscope?

我按照谷歌上的链接建立了一个cscope数据库,但是我该如何在Aquamacs中调用cscope呢?

谢谢。

3个回答

0

0

M-x shell 然后输入 'cd 你的目录; cscope ...." ?


0
以下是在Mac OS X 10.6.8上使用Aquamacs 2.3a [GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0,NS apple-appkit-949.54) of 2011-08-04 on braeburn.aquamacs.org - Aquamacs Distribution 2.3a]完成的:
http://sourceforge.net/projects/cscope/files/下载cscope(使用版本15.7a)。bunzip2并解压软件。执行“configure”;进行“make”。如果出现错误,请查看以下页面并按照http://cean2wizard.blogspot.com/2011/02/cscope-157a-build-with-mac-os-x-snow.html中的说明修补文件constant.h。基本上,将TERMINFO设置为Mac的1。进行“make”,然后进行“sudo make install”。
进入contrib目录。将xcscope.el复制到~/Library/Application\ Support/Aquamacs\ Emacs/。

切换到~/Library/Application\ Support/Aquamacs\ Emacs/目录,编辑site-start.el文件并添加以下行:

(require `xcscope)

启动Aquamacs。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接