delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/19/07:23:18

From: G DOT DegliEsposti AT ads DOT it
To: djgpp AT delorie DOT com
Message-ID: <C1256572.0043C520.00@vega.ads.it>
Date: Fri, 19 Dec 1997 13:22:16 +0100
Subject: Re: gcc output redirection
Mime-Version: 1.0




>Hi!
>
>How can I redirect the output error messages to a file (it writes it to
>stderr not to stdout, I believe), or if it generates an .err file like
>Watcom. I think no, but it may be a good idea for future releases. In
>linux it's not needed, as it can scroll the window up and down, but in
>DOS...
>Thank in advance!

You can use the "redir" utility:

     redir -eo gcc ...

redirects stderr to stdout

ciao
  Giacomo


- Raw text -


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