delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/01/13:08:29

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: <c=US%a=_%p=KLA_Instruments_%l=SJEXCHANGE3-971001192745Z-2873.cygnus.gnu-win32@sjexchange.kla-tencor.com>
Mime-Version: 1.0
To: "'gnu-win32 AT cygnus DOT com'" <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 <mc4420 AT mclink DOT it> 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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019