www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/25/07:15:07

Date: Wed, 25 Sep 1996 12:51:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Martin Smith <mksmith AT idirect DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Emacs + DJGPP
In-Reply-To: <843627914@news.compulink.com>
Message-Id: <Pine.SUN.3.91.960925124649.14109E-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019