Martijn Mulder
20 years ago
Hello group,
I work with c++ compilers from various vendors but plan to switch to MinGW
because it adhers very close to the requirements. I work with Windows ME in a
DOS box. I do the editing in vi and invoke the compiler with a batch file.
The error output is sent to file with redirection like this
wcl32.exe myfile.cpp > error.txt
(when I use the Watcom compiler). Then I can study the results and make
improvements. I never have to leave the editor.
Now that I try MinGW, I observe that it is very verbose. Nothing wrong with
that, but I cannot capture the output to a file. All is written to cerr it
seems, and none to cout. Is there an option to redirect the error output to a
file? Or perhaps a Windows hack to achieve the same thing?
I would be glad to learn about it because it is the only thing that keeps me
from the MinGW compiler.
I work with c++ compilers from various vendors but plan to switch to MinGW
because it adhers very close to the requirements. I work with Windows ME in a
DOS box. I do the editing in vi and invoke the compiler with a batch file.
The error output is sent to file with redirection like this
wcl32.exe myfile.cpp > error.txt
(when I use the Watcom compiler). Then I can study the results and make
improvements. I never have to leave the editor.
Now that I try MinGW, I observe that it is very verbose. Nothing wrong with
that, but I cannot capture the output to a file. All is written to cerr it
seems, and none to cout. Is there an option to redirect the error output to a
file? Or perhaps a Windows hack to achieve the same thing?
I would be glad to learn about it because it is the only thing that keeps me
from the MinGW compiler.