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]

Re: scanf doesn't work


On 6/19/09, Leonitis <rubixqb@gmail.com> wrote:
> I'm not too familiar with what the Linux headers are for, but the kernel
> version on the evaluation board is 2.6.20. Could that be the problem?

I can't reproduce this problem, but one way to make it go away might be to use
arm-unknown-linux-gnueabi and compile your kernel with USE_EABI set.
You will also need to replace your rootf with one compiled using EABI
as this is an incompatible change.

Among other things, this changes the way floating point is performed
from kernel emulation of an extinct FPU's hardware instructions to
using a soft tloat library, which not only changes the FP code in
glibc and its execution mechanism, but also makes floating point
calculations work 11 times faster (yes, 11) as well as enabling you to
use your FPU if any for a further 2 to 5 times speedup in FP. All the
main distros are switching to EABI too, which will future-proof your
work.
See wiki.debian.org/ArmEabiPort for gory details and HOWTOs

Or you can try to isolate the exact cause of your bug...

   M

--
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]