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-Dosshell



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@prospect.com.ru]
>Sent: 	Wednesday, October 01, 1997 12:22 AM
>To: 	gnu-win32@cygnus.com; 'cgf@bbc.com'
>Subject: 	RE: Redirect the stderr GCC stream to file, executing from
>Ms-Dosshell
>
>Chris Faylor wrote:
>> In article <199709301048.MAA00599@ammi.mclink.it>,
>> Giandomenico De Sanctis <mc4420@mclink.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@cygnus.com" with one line of text: "help".
>
-
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]