g++ and stdout strangeness

Falk Hueffner falk.hueffner@student.uni-tuebingen.de
Tue Nov 28 14:42:00 GMT 2000


Benjamin Kosnik <bkoz@redhat.com> writes:

> No, I cannot reproduce this:
> 
> <bkoz@fidel.cygnus.com> {/fidel/ity/bkoz}                                       % g++ -static test.cc
> <bkoz@fidel.cygnus.com> {/fidel/ity/bkoz}                                       % a.out 
> Hello world.

And how about redirecting? The original poster already mentioned it
worked without redirection.

I can reproduce it with:

% gcc -v
Reading specs from /usr/local/lib/gcc-lib/alphapca56-unknown-linux-gnu/2.97/specs
Configured with: ../configure 
gcc version 2.97 20001126 (experimental)

	Falk



More information about the Gcc mailing list