UNIX C-compiler
Paul Nash
paul at frcs.UUCP
Fri Apr 13 20:43:54 AEST 1990
In article <3578 at hcx1.SSD.CSD.HARRIS.COM>, brad at SSD.CSD.HARRIS.COM (Brad Appleton) writes:
> In article <3577 at hcx1.SSD.CSD.HARRIS.COM> leoh at hardy.hdw.csd.harris.com (Leo Hinds) writes:
> >I bow to all the emacs users that can control the world from within emacs
> >with just a few (IMHO) obnoxious keystrokes. What they can achieve ...
> >
> Not necessarily so. To compile from within vi just use ":!make" which
> will run make (or even :!cc foo.c which will run the C compiler), and
>
> Oh! You say you want to be able to parse the error messages ...
>
> On some BSD-based Systems (e.g. SunOs) there is a program called "error"
Obviously _some_ people out there do know about emacs, but as the poster
of the original aritcle was looking for a system similar to TC, there is
no reason why s/he should not have top go and buy it.
I use Epsilon (by Lugaru) with both DOS & Xenix, and it makes the TruboC
environment lokk silly (I have TC 2 aswell, but almost never use it).
To run `make', type <ctrl>X-M, and make will run, while the editor tee's
the stdout/stderr to the screen and an editor buffer. It will then parse
errors, and display them as an editor message while putting the cursor
on the line, etc., opening files if needed to get to the problem code.
While this is pretty standard with good DOS editors (Brief, etc), it
works better than most DOS stuff (no `hidden compiles' - you see the
error messages immediately, and keyboard input [eg ^C] gets to the
compiler!), and better than bunches of Unix tools. Sure, a nice Unix
pipeline and a couple of vi macros will do a similar job _for_free_,
but I don't think that that is what the original poster was asking for.
BTW: Epsilon is _very_ customisable, but works great straight out the box.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
...!uunet!ddsw1!proxima!frcs!paul paul at frcs.UUCP
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the Comp.lang.c
mailing list