www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/19/03:19:33

From: "Gautam N. Lad" <gautam AT interlog DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: How do I re-direct errors/warnings to file?
Date: 18 Jan 1997 22:50:12 GMT
Organization: InterLog Internet Services
Lines: 30
Message-ID: <5brk34$q1q@news.interlog.com>
NNTP-Posting-Host: ip203-89.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
I know this is a stupid question (maybe it's not), and I might get 
flamed for it, but anyways here goes (if you want to flame me, I am
telling you I will ingnore you!):

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.

I tried something like this at the prompt:
gxx -o tb.exe tb.cpp window.cpp -lgrx20 >ERRORS

Here, the ERRORS is the files that will contain warning/errors outputed
by the compiler.  This type of method works fine under OS/2, but not
for Win95! Any suggestions?

BTW, I'm using DJGPP v2.0 and GRX v2.0.

Bye!
****************************************************
* Gautam N. Lad                                    *
*--------------------------------------------------*
*                                                  *
* E-Mail	: gautam AT interlog DOT com              *
* Website	: http://www.interlog.com/~gautam  *
*                                                  *
* OS/2, DOS/Windows, Graphics Gallery, Software,   *
* Links, Rayzor Editor/2, POV-Ray,  and more.      *
****************************************************

- Raw text -


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