Message-Id: <200007140956.MAA11876@mailgw1.netvision.net.il> Date: Fri, 14 Jul 2000 12:56:36 +0200 To: yosuke AT ccwf DOT cc DOT utexas DOT edu X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b From: "Eli Zaretskii" CC: djgpp AT delorie DOT com In-reply-to: <8km1bf$kko$1@geraldo.cc.utexas.edu> (yosuke@ccwf.cc.utexas.edu) Subject: Re: redir.exe question References: <8kkv0e$4co$1 AT geraldo DOT cc DOT utexas DOT edu> <200007131938 DOT PAA26113 AT envy DOT delorie DOT com> <8km1bf$kko$1 AT geraldo DOT cc DOT utexas DOT edu> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: yosuke AT ccwf DOT cc DOT utexas DOT edu () > Newsgroups: comp.os.msdos.djgpp > Date: 14 Jul 2000 03:27:43 GMT > > Actually the out/err comes from dos-batch file which calls > compilers/linkers. So I guess I will write a driver c program which uses > setbuf, then system calls the batch file... Am I on the right track? No, you cannot control buffering within other programs (compilers and linkers, in this case) by calling setvbuf in your driver. So I don't think you will be able to get stdout and stderr mixed in their correct chronological order, in your case. Sorry.