LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 987|回复: 2

emacs的ecb是怎么装的啊?

[复制链接]
发表于 2005-8-18 13:26:31 | 显示全部楼层 |阅读模式
看它的官方网站怎么写得很不明确啊?
哪位用的哥来指点一下?
发表于 2005-8-18 14:42:15 | 显示全部楼层
在ecb的installation页有说明啊
记得应该先安装cedet 1.0,
1) Copy source files somewhere.

2) Byte compile

   a) make

   -OR-

   b) make EMACS=<your favorite emacs>

  You might also have trouble with makeinfo.  If you need to upgrade
  makeinfo, you can do this:

  c) make MAKEINFO=/usr/local/bin/makeinfo

  Note: For speedbar, you may also need to byte-compile the version
  of INFO and RMAIL that come with your version of emacs.

  d) make MAKEINFO=echo

  To skip making the doc.

3) Install load hooks into your .emacs file.

;; Configuration variables here:
(setq semantic-load-turn-useful-things-on t)
;; Load CEDET
(load-file "~/cedet-VERSION/common/cedet.el")


然后安装ecb

# Add the new ECB-directory to your load-path variable.

You MUST add the ECB-install-directory to the load-path either by changing the load-path variable directly in your .emacs or site-lisp/site-start.el or by working with a file subdirs.el2.

So for example the needed entry for your .emacs-file could be:

(add-to-list 'load-path
             "/path/to/your/ecb/installation/directory")

# Load ECB by adding code to your .emacs:

If you want to load the complete ECB at (X)Emacs-loadtime (Advantage: All ECB-options available after loading ECB. Disadvantage: Increasing loadtime3):

(require 'ecb)

If you want to load the ECB first after starting it by ecb-activate (Advantage: Fast loading4. Disadvantage: ECB- and semantic-options first available after starting ECB):

(require 'ecb-autoloads)

This loads all available autoloads of ECB, e.g. ecb-activate, ecb-minor-mode, ecb-byte-compile and ecb-show-help.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-18 15:17:26 | 显示全部楼层
谢谢啦, 原来下下来的包是不用编译的呵呵, 已经装好了, 开始学用.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表