Date: Thu, 11 Jan 1996 18:22:34 +0200 (IST) From: Eli Zaretskii To: Alex Schroeder Cc: djgpp AT delorie DOT com Subject: Re: How do you debug graphics programs? On 10 Jan 1996, Alex Schroeder wrote: > On Mon, 08 Jan 1996 05:22:54 GMT, Robert Henry wrote: > > > While I'm om the subject of redirection, how do I get gcc to > > redirect its output to a file? > > A problem under DOS. If you use the command line, pipes work fine > (eg. gcc test.c > report). But you cannot redirect the output of a > batch file, or make or so. I am using something along this line: You cannot redirect stderr because COMMAND.COM doesn't know how to do it, that's the problem. DJGPP 2.0 comes with a program called redir which solves this problem. For DJGPP v1.x, there are few options which are explained in the FAQ (faq102.zip from the same place you get DJGPP), section 6.13.