Use Linux... hehehe, couldn't resist!

Look for a program called 4DOS or 4NT. It's a usable shell for windows, that
has, among many other things, a buffer. Or you can use the Windows port of bash
(www.cygnus.com), which allows you to redirect stderr with:
    gcc something.c > stdout.log 2> stderr.log
or everything with
    gcc somethin.c &> log.txt

Thomas Ward wrote:

> Sorry to bother you all, but I have looked everywhere, and can't find the
> answer to this stupid question. I'm using GCC on Windows98. My code has some
> syntax error, and it's causing approximately 8475089754089745 error messages
> to be written to my DOS window before I can hit PAUSE. Is there any way to
> redirect the standard error output to a file rather than to a screen? Or to
> pause when the screen is full? Or a way to tell GCC to show me only the
> first 10 error messages? Thanks.

--
Sergio Carvalho
---------------
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you


Reply via email to