Capturing Error Output on DOS

Martijn Mulder mbmulder@home.nl
Sat Oct 25 13:23:00 GMT 2003


Hi group,
 
I have a real stupid problem but it is getting to me. My 
'Hello World' program produces 6 pages of errors and 
warnings on compilation, and that is fine with me, but
I am not able to capture the output to a file.
 
I work from a DOS box under WindowsME.
 
Normally, I intercept error output like this:
C:\MinGW\bin\gcc.exe HelloWorld.cpp > error.txt
but with gcc it races over the screen and cannot
be captured. No 'tee' utility under DOS.
 
This is probably of-topic since it is DOS related but
in this mailing group others must have experienced
the same problem. If anyone can help? Thanks.
 
-X
 
 



More information about the Gcc-help mailing list