simple c 's printf problem in mandrake8.0
Andrew Pinski
pinskia@physics.uc.edu
Sat Dec 29 15:14:00 GMT 2001
It is not because of the compiler but because of the libc library
does not flush at the end of the program which I consider a bug.
But this is OT for this list.
Thanks,
Andrew Pinski
PS MDK8.0 and RedHat7.1's compilers are junk update them to at least 3.0
On Saturday, December 29, 2001, at 09:48 , eric wrote:
> Dear gcc programmers:
>
> I use the mandrake8.0, test a simple c program
> printf("hello world"), it did not print anything, until I add \n at the
> end of the string.
> such result never happen in redhat7.1 or debian-progeny1.0. some of
> mdk's newbie tell me it is because "our compiler is more stricter than
> theirs", I wonder whether it is true, especially the program written and
> compiled by the way of redaht or debian may cause error or any
> unpredicted result run on mandrke.
>
> are any file I should install so it can print the "hello world"
> without \n?
>
> highly appreciate your tech help
> sincere eric
> http://www.onlineexchange.com/shilin
>
>
More information about the Gcc
mailing list