This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


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

printf("\n").


Hello,

I've done the initial part of porting eCos to the MPC50x processors. I even
can run tests on my board now! But all tests that use stdio facilities output
text strangely. The problem is that statements like 'printf("\n")' produce
character sequence 0xA,0xD while the right sequence is 0xD,0xA. Macros like
CYG_TEST_INFO produce right end-of-line sequence though.

Any ideas?

Attached is output of 'stdiooutput' test.

BTW, is it possible to turn off \n to <CR><LF> conversion entirely?

Thanks,
Sergei.

stdiooutput.gz


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