delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/12/12:40:25

From: Jan Reimers <wolfe!resrch!janr>
Subject: piping errors and warnings under DOS
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 12 May 94 8:00:43 PDT

Can anyone out there tell me how to redirect my warning and error
massages to a file under DOS.  For example:

gcc -Wall -c prog.cc >error.lst

definitly dosn't work,  everything stills ends up going to the screen.
The DOS redirection only traps characters sent to 'standard out' but
not 'standard error'.   The djgpp documentation specificaly states that
the compiler sends all error messages to 'standard error'.

How do I get around this???

Thanks in advance.


################################

     Jan N. Reimers (PhD)
      Research Scientist
    Moli Energy (1990) Ltd.
     Tel:   (604)-465-7911
     FAX:   (604)-465-4398
  email: janr AT molienergy DOT bc DOT ca

################################



- Raw text -


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