3

你能告诉我如何在 MacOS 上使用 aquamacs 设置 cscope 吗?

我关注了来自 Google 的链接,说明如何为我的源代码构建 cscope 数据库。但是如何使用 aquamacs 调用 cscope?

谢谢你。

4

3 回答 3

0

Mx shell 然后 'cd your_dir; cscope ...." ?

于 2009-09-14T14:56:25.333 回答
0

以下是使用 2011 年 8 月 4 日 braeburn.aquamacs.org 上的 Aquamacs 2.3a [GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) 在 Mac 上执行 - Aquamacs Distribution 2.3a] OS X 10.6.8:

从http://sourceforge.net/projects/cscope/files/下载 cscope (使用的版本 15.7a)。bunzip2 并解压软件。执行“配置”;做吧'。如果您发现错误,请检查以下页面并按照http://cean2wizard.blogspot.com/2011/02/cscope-157a-build-with-mac-os-x-中的说明中的说明修补文件 constant.h雪.html。基本上,对于 Mac,将 TERMINFO 设置为 1。执行“make”,然后执行“sudo make install”。

转到 contrib 目录。将 xcscope.el 复制到 ~/Library/Application\ Support/Aquamacs\ Emacs/

将目录更改为 ~/Library/Application\ Support/Aquamacs\ Emacs/,编辑 site-start.el 并添加以下行:

(需要`xcscope)

启动 Aquamacs。

于 2011-08-21T02:47:03.973 回答
0

安装 xscope.el http://www.emacswiki.org/emacs/CScopeAndEmacs#toc3

我使用 Emacs 的 GNU Cocoa 构建,但我认为这也适用于您。

于 2010-05-12T11:48:03.947 回答