delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/18/06:57:50

Date: Fri, 18 Aug 2000 13:59:41 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: indy AT mgupp DOT ru
Message-Id: <1438-Fri18Aug2000135940+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
CC: djgpp AT delorie DOT com
In-reply-to: <399CE04B.2F537C94@mgupp.ru> (message from Alexey Zakhlestine on
Fri, 18 Aug 2000 11:05:48 +0400)
Subject: Re: Porting from *nix (general) and capturing gcc/cc1 output ...
References: <399CCC1B DOT C376F6FB AT hotmail DOT com> <399CE04B DOT 2F537C94 AT mgupp DOT ru>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 18 Aug 2000 11:05:48 +0400
> From: Alexey Zakhlestine <indy AT mgupp DOT ru>
> 
> you should use
>     make 2>err.txt
> instead of
>     make >err.txt
> 
> ">" redirects stdout, and "2>" redirects stderr

This only works in Bash (or another sh workalike) or on NT with
CMD.EXE.  COMMAND.COM doesn't support redirection of stderr.

- Raw text -


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