Redirect the stderr GCC stream to file, executing from Ms-Dos shell

Curtis L. Olson curt@me.umn.edu
Tue Sep 30 13:31:00 GMT 1997


Giandomenico De Sanctis writes:
> How to redirect the stderr stream to a file, running GCC from MS-Dos
> command prompt, and not from Unix-like shell as bash??

I've had some luck if the actual executable is called from a batch
file:

batchfile.bat > output

... where batchfile.bat calls the compiled program.

Curt.
-- 
Curtis Olson                        Systems Administrator
curt@me.umn.edu                     University of MN, ME Dept.
http://www.menet.umn.edu/~curt      Try Linux!
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list