This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Capturing Error Output on DOS
- From: "Martijn Mulder" <mbmulder at home dot nl>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Sat, 25 Oct 2003 15:31:05 +0200
- Subject: Capturing Error Output on DOS
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