Redirect the stderr GCC stream to file, executing from Ms-Dosshell
Thu Oct 2 01:08:00 GMT 1997
--- On Wed, 1 Oct 1997 15:17:27 GMT Chris Faylor
>Sergey Okhapkin <firstname.lastname@example.org> wrote:
>>Chris Faylor wrote:
>>> In article <199709301048.MAA00599@ammi.mclink.it>,
>>> Giandomenico De Sanctis <email@example.com> wrote:
>>> >How to redirect the stderr stream to a file,
running GCC from MS-Dos
>>> >command prompt, and not from Unix-like shell as
>>> gcc whatever 2>wherever
>>This works with NT4.0 cmd.exe only, but not with
>Right. Sorry to have not mentioned that.
>Other alternatives are:
>1) Use 4DOS ( http://www.jpsoft.com ), which allows
'>&' for redirection.
>2) Write a small program to redirect stderr to stdout
and run its
>3) bash -c 'exec gcc whatever 2>wherever'
> http://www.bbc.com/ firstname.lastname@example.org
"Strange how unreal
>VMS=>UNIX Solutions Boston Business
Computing the real can be."
>For help on using this list (especially
unsubscribing), send a message to
>"email@example.com" with one line of text:
-----------------End of Original
Can you give me a quick hint what the small program
mentioned in point no. 2 would look like.
How would I invoke this to re-direct the output of GCC
to a file.
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".
More information about the Cygwin