Thursday, June 5, 2014

emacs w/ intelligent code completion (CEDET)

Installing EMACS

ERROR: no gif
FIX: --with-gif=no

ERROR: collect2: error: ld returned 1 exit status
FIX: CPPFLAGS="-fgnu89-inline"

make distclean
./configure --prefix=~/emacs-24.3_install --with-gif=no CPPFLAGS="-fgnu89-inline"
./src/emacs -Q
make install

Installing CEDET

tar zxf cedet-1.1.tar.gz
cd cedet-1.1
make EMACS=emacs

append ~/.emacs

(load-file "~/cedet-1.1/common/cedet.el")
(global-ede-mode 1)                      ; Enable the Project management system
(semantic-load-enable-code-helpers)      ; Enable prototype help and smart completion 
(global-srecode-minor-mode 1)            ; Enable template insertion menu

Getting Started with CEDET

No comments:

Post a Comment