Mail Archives: djgpp/1996/09/25/07:15:07
On 25 Sep 1996, Martin Smith wrote:
> I can't figure out how to get Emacs to run the DJGPP compiler etc. in a
> buffer. It _is_ supposed to be able to isn't it?
You do it like so:
1) Load a source file:
C-x C-f foo.c RET
2) Invoke the `compile' command:
M-x compile RET gcc -c foo.c RET
3) Sit back and watch the fun.
4) When the compilation exits, you can step through the error
messages by either (1) right-click your mouse on the message in the
*Compilation* buffer (that's where the messages are printed), or (2) by
pressing `C-x `' to go forward or `M-- C-x `' to go back.
Note: `M-x' means press the `Alt' key and the `x' key, in case you didn't
know.
- Raw text -