delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/15/13:30:07

Message-ID: <33F48C63.7915@bspu.ac.by>
Date: Fri, 15 Aug 1997 20:05:39 +0300
From: Alexander Bokovoy <bokovoy AT bspu DOT ac DOT by>
Organization: BSPU named after Maxim Tank
MIME-Version: 1.0
To: dsh AT rousse DOT bg400 DOT bg
CC: djgpp AT delorie DOT com
Subject: Re: Redirection problem

> My problem is that I can't redirect the gcc messages output
> to a file or with '|' to more.
> I suppose gcc writes on stderr. Why?

Use redir.exe for redirect standard outputs to different files.
You can write 
 redir -e my.err <run-program>
to redirect stderr from <run-program> to file my.err.
See 
 redir --help
for more documentation (FAQ and Info also)

-- 
Alexander Bokovoy, <bokovoy AT bspu DOT ac DOT by>
---== The Soft Age coming soon ==---


- Raw text -


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