This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]