From: curt@me.umn.edu (Curtis L. Olson)
Subject: Re: Redirect the stderr GCC stream to file, executing from Ms-Dos shell
30 Sep 1997 13:43:35 -0700
Message-ID: <199709302031.PAA26645.cygnus.gnu-win32@kenai.me.umn.edu>
References: <199709301048.MAA00599@ammi.mclink.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: gnu-win32@cygnus.com
Cc: mc4420@mclink.it

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