delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/13/23:39:47

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Codewright with DGJPP, HELP!
Date: 13 Mar 1997 18:48:29 GMT
Organization: Oxford University, England
Lines: 22
Message-ID: <5g9i5t$jh5@news.ox.ac.uk>
References: <01bc3020$9341c8e0$81326478 AT emmanuelp-nt4>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Emmanuel Proulx (emmanuelp AT corel DOT ca) wrote:

: The problem is that I cannot redirect the output of the
: compiler (STDERR) to a file so that CodeWright will
: be able to parse it.  Any suggestions?

Use the redir utility; it should be in your bin subdirectory. Briefly, to
redirect stderr to stdout and then on to a file, you can use:

redir -o outfile.txt -eo myprog.exe

This means `run myprog.exe, redirecting stdout to outfile.txt and stderr
to the same place as stdout'. This will mix stderr with stdout; if you're
not interested in redirecting stdout you can change the -o to -e and get
rid of the -eo. 

For more information, RTID (read the info docs :) ) or just type `redir'
for a brief option listing.

-- 
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

- Raw text -


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