This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc -v



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

gcc --version prints on stdout (but it prints only the version number).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]