Standard shell redirection should do it

gcc ... 2> /tmp/gcc.out

Cheers
Jason.

---
Jason Ball
Electronic Commerce Specialist
Corporate Express Australia Ltd
Phone: +61 2 9335 0374  Fax: +61 2 9335 0753
Email: [EMAIL PROTECTED]

On Thu, 16 Dec 1999 [EMAIL PROTECTED] wrote:

> I have spent over two hours looking for an answer to this on the web.
> Either no one has ever asked it before or it is so blatantly obvious
> that I'm going to be embarassed when I find out how it's done.
> 
> Satisfied with my abilities of installing and navigating LINUX at the 'P
> plate' level, I now want to start doing the things I used to do before
> on 'another operating system'. One of these tasks is some simple
> programming in 'C'.
> 
> I used to use a rather old Borland C compiler. When compiling under DOS,
> I could redirect the error and warning messages to a file. From the
> file, I could use a variant of vi (called ELVIS) to read the error file
> and bring up the offending .c file(s) at the location of the error.
> 
> I'm now using gcc and vim and want to do the same thing. I've worked out
> that vim can read in the error messages using the -q option (quickfix)
> but how (the hell) do I send the gcc error and warning messages to a
> file?!
> 
> man gcc
> man make
> howtos
> man vim
> and everything else I could think of has been searched.
> 
> I will be eternally grateful for a reply.
> 
> Gregg
> 
> 
> 
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
> 

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to