Compiling and Processing Errors


Compiling or Running make

To compile program or build a project, use the "compile" command. Doing so, displays "make -k" in the minibuffer. This can be edited to issue any command to the system, e.g. "g++ MyProg.cxx -o MyProg". When you issue the "compile" command again, it will remember the last arguments you used.

Finding Errors and Becoming One with Them

On that rare occasion that you should generate a compiler error, you can use the "next-error" command to make Emacs go to the exact file and line that generated the offending error. Repeated use of the "next-error" will go serially down the list of generated errors.

Note: Some compilers allow you to set the warning level so that some warnings get treated like errors. Consult your doctor.


Beginning | Previous | Next
Last updated $Date: 1997/04/11 03:46:05 $.