| CC Mode | Installation Notes |
|
Index Download Manual (html) Manual (info/PS/DVI) Recent changes Installation Compatibility Mailing lists Anonymous CVS Browse CVS Repository Contributions and links SourceForge project page |
Byte CompilingIt is highly recommended that you byte-compile CC Mode for performance reasons. Running CC Mode non-byte-compiled is not supported. You can compile CC Mode in the same way as any other package. To compile it from a running (X)Emacs session: M-0 M-x byte-recompile-directory RET /path/to/cc-mode RET To compile CC Mode from the shell: % cd /path/to/cc-mode % $(EMACS) -batch -no-site-file -q -f batch-byte-compile cc-*.elwhere $(EMACS) is either emacs or
xemacs depending on the flavor you use.
InstallingPut the compiled files somewhere (X)Emacs will find them, i.e. in
some path that's in the (autoload 'awk-mode "cc-mode" nil t)This will cause (X)Emacs to use the new AWK Mode for AWK files, rather than the older mode contained in the file awk-mode.elc.
To test that you have things set up correctly, visit a C file and
then type: M-x c-version RET => Using CC Mode version 5.XXwhere XX is the correct minor revision number.
|
bug-cc-mode@gnu.org |
|