delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/05/01:59:36

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: newbie question
Date: Thu, 05 Jun 1997 00:06:28 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 29
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33963B44.4DFD@cornell.edu>
References: <5n55td$6s1$1 AT morgoth DOT sfu DOT ca>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0014.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Wilson Wang Shun Leung wrote:
> 
> This is a newbie question.  Sorry if it is too trivial.
> How to capture error/warning message from command line
> (in DOS)?  I tried :
>    gcc -c prog.c | more
> 
> But the piping doesn't work.
> 
> or
>    gcc -c prog.c > err
> 
> But the err file is empty
> 
> Any idea?

redir.exe in your djgpp\bin directory.

-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************

- Raw text -


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