Xref: news-dnh.mv.net comp.os.msdos.djgpp:4240 Path: news-dnh.mv.net!mv!barney.gvi.net!news.netrail.net!imci2!newsfeed.internetmci.com!uwm.edu!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!in2p3.fr!swidir.switch.ch!swsbe6.switch.ch!scsing.switch.ch!rzunews.unizh.ch!alex From: alex AT zool DOT unizh DOT ch (Alex Schroeder) Newsgroups: comp.os.msdos.djgpp Subject: Re: How do you debug graphics programs? Date: 10 Jan 1996 12:50:48 GMT Organization: University of Zurich, Switzerland Lines: 19 Message-ID: <4d0cn8$n55@rzunews.unizh.ch> References: <4csu4m$en0 AT stealth DOT mindspring DOT com> NNTP-Posting-Host: rzurs10.unizh.ch To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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: CFLAGS= -Wall >> rep Which appends all output to rep, and have a make.bat in my source dirs, which first deletes rep, then calls make.exe and then types rep... Alex. -- Grofzg! Mofzg! NagaNnaga! NnnaAARGHGAA! Agha! Naganahhagga! PGP public key available on request from alex AT zool DOT unizh DOT ch