From: "A. Sinan Unur" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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. *******************************************************************