gcc -v

Yu Tang carino@mail.ustc.edu.cn
Thu Jan 18 00:58:00 GMT 2001


On 17 Jan 2001, Gabriel Dos Reis wrote:

>
> Hi,
>
> Is there any technical reason why "gcc -v" should output to stderr and
> not to "stdout"?  I'm in the process of adding (finally!) the new style
> DejaGnu framework for V3 and I'm finding that "feature" to be
> annoying as something like (the following which ran successfuly is
> reported as a failure)
>
> 	set output [remote_exec host $libstdcxx_options(CXX) -v]
>
> AFAICT, we should only use stderr for diagnostics, not for normal
> behaviour.

  What about a wrap prgram?It just pass arguments to GCC,and redirect
stderr to stdout.
>
> -- Gaby
> CodeSourcery, LLC                       http://www.codesourcery.com
>




More information about the Gcc mailing list