From: john DOT cook AT kla-tencor DOT com (John Cook) Subject: RE: Redirect the stderr GCC stream to file, executing from Ms-Dosshell 1 Oct 1997 13:08:29 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "'gnu-win32 AT cygnus DOT com'" This works in NT3.51 also. I stumbled upon it accidentally when I was trying to redirect stdout of an executable with a final argument of '2' and redirected stderr instead! --John >---------- >From: Sergey Okhapkin[SMTP:sos AT prospect DOT com DOT ru] >Sent: Wednesday, October 01, 1997 12:22 AM >To: gnu-win32 AT cygnus DOT com; 'cgf AT bbc DOT com' >Subject: RE: Redirect the stderr GCC stream to file, executing from >Ms-Dosshell > >Chris Faylor wrote: >> In article <199709301048 DOT MAA00599 AT ammi DOT mclink DOT it>, >> Giandomenico De Sanctis wrote: >> >How to redirect the stderr stream to a file, running GCC from MS-Dos >> >command prompt, and not from Unix-like shell as bash?? >> >> gcc whatever 2>wherever > >This works with NT4.0 cmd.exe only, but not with 95's command.com. > >-- >Sergey Okhapkin, http://www.lexa.ru/sos >Moscow, Russia >Looking for a job. > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request AT cygnus DOT com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".