你能告诉我如何在MacOS上设置cscope和aquamacs吗?
我从谷歌获得了一个链接,告诉我如何为我的源代码建立一个cscope数据库。但是,如何使用aquamacs调用cscope呢?
谢谢。
发布于 2009-09-14 14:56:25
M-x shell然后'cd your_dir;cscope ....“?
发布于 2010-05-12 19:48:04
安装xscope.el http://www.emacswiki.org/emacs/CScopeAndEmacs#toc3
我使用Emacs的GNU Cocoa版本,但我认为这也适用于您。
发布于 2011-08-21 10:47:04
以下是在Emacs 10.6.8的braeburn.aquamacs.org - Aquamacs Distribution 2.3a上使用2011-08-04的Aquamacs 2.3a GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0,NS apple-appkit-949.54)执行的:
从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。基本上,对于Mac,将TERMINFO设置为1。执行“make”,然后执行“sudo make install”。
转到contrib目录。将xcscope.el复制到~/库/应用程序\支持/Aquamacs\ Emacs/
将目录更改为~/Library/Application\ Support/Aquamacs\ Emacs/,然后编辑site-start.el并添加行:
(需要` `xcscope)
启动Aquamacs。
https://stackoverflow.com/questions/711046
复制相似问题