delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/29/10:21:33

From: "DeHackEd" <not DOT given AT out>
Newsgroups: comp.os.msdos.djgpp
References: <379DB195 DOT AA735370 AT id-base DOT com>
Subject: Re: too many errors:
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <7Lin3.3714$Vb4.20713@tundra.ops.attcanada.net>
Date: Tue, 27 Jul 1999 13:46:43 GMT
NNTP-Posting-Host: 142.194.222.138
X-Trace: tundra.ops.attcanada.net 933083203 142.194.222.138 (Tue, 27 Jul 1999 13:46:43 GMT)
NNTP-Posting-Date: Tue, 27 Jul 1999 13:46:43 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> gxx file.c -o file.exe > outfile.txt

There's an output device called "stderr" that is guaranteed to print to the
screen, even with redirection. There is a workarond though. The equivilant
command you would want from this example is:

redir -e outfile.txt gxx file.c -o file.exe

Redir redirections stdout, stderr, etc. into files, eachother, or a
combination.

--
DeHackEd
No emails, the address is fake.


- Raw text -


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