Thursday, June 5, 2014

emacs w/ intelligent code completion (CEDET)

Installing EMACS

http://savannah.gnu.org/projects/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"
make
./src/emacs -Q
make install


Installing CEDET

http://cedet.sourceforge.net/setup.shtml

wget https://sourceforge.net/projects/cedet/files/cedet/cedet-1.1.tar.gz
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

http://alexott.net/en/writings/emacs-devenv/EmacsCedet.html

No comments:

Post a Comment