This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |