delorie.com/archives/browse.cgi | search |
From: | waxmud AT sprynet DOT com (Tom 7) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | So many errors. Redirect stderr? |
Date: | Sat, 11 Jul 1998 21:40:54 -0400 |
Organization: | Tantamount Industries |
Lines: | 25 |
Message-ID: | <MPG.1011de2db4fc18fc989691@news.sprynet.com> |
NNTP-Posting-Host: | ad05-047.arl.compuserve.com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Gurus, Sometimes I get a huge amount of errors (usually a typo in a struct definition after not compiling for a while) compiling with gcc from the command line -- so many that anything useful is scrolled pages and pages off the screen. In unix I've got an alias to redirect stderr to more in these situations, but I have no idea how to do this in DOS. The solutions to this problem that I see are: 1. Use RHIDE 2. Do intensive #if 0 commenting in the code to find the error without too many popping up 3. Move the program to a unix box and None of these options are very tasty. My question is: How can I redirect stderr to a file or a screen-at-a- time program like more? I'd appreciate an e-mail cc to twm(a)andrew.cmu.edu. Thank-you! Tom 7
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |