www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/19/00:16:34

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do I re-direct errors/warnings to file?
Date: Sat, 18 Jan 1997 18:53:45 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 19
Message-ID: <32E18CB9.6BD8@cs.com>
References: <5brk34$q1q AT news DOT interlog DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp108.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Gautam N. Lad wrote:
> 
> QUESTION:
> How do I direct the errors/warnings that are created after compile,
> to a file?  I tried REDIR, but didn't have a clue on how to use it.
> Since my HD space is limited, I got rid of the DOCs.

redir -o err -eo gxx -o tb.exe tb.cpp window.cpp -lgrx20

This redirects both stdout and stderr to the file called "err".  redir
has a bunch of similar options; just type "redir" to see them.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| "Starting flamewars since 1993"  |   http://www.cs.com/fighteer   |
|  *** NOTICE ***  This .signature is generated randomly.           |
|                  If you don't like it, sue my computer.           |
---------------------------------------------------------------------

- Raw text -


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