scanf doesn't work
Leonitis
rubixqb@gmail.com
Thu Jun 18 14:16:00 GMT 2009
I'm pretty sure this is an issue with the cross-compiler (sorry if it's not).
I successfully built a cross-compiler for the ARM with crosstool-ng and
everything works fine. However, when I want to get user float input with
scanf(), it misses the negative sign, even though it works fine with
integers. For example, 3.5 and -3.5 are both read in as 3.5.
I compiled the same test program for my desktop and it works correctly (so
it's not because of incorrect usage of scanf).
How do I fix this? Is this a bug in glibc?
Thanks in advance!
--
View this message in context: http://www.nabble.com/scanf-doesn%27t-work-tp24093905p24093905.html
Sent from the Sourceware - crossgcc list mailing list archive at Nabble.com.
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list