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: sprintf causes a procesoor crash when I use %f


On 11 August 2006 17:15, Koen Teetaert wrote:

> I was creating a m68k-elf GNU toolchain with binutils 2.15, gcc3.4.6 and
> newlib 1.15.0.
> When I compile my coldfire project (m5307), everything works fine, expect
> the sprintf function.
> When I use sprintf with a %f in its argument it causes a processor crash.
> Can I solve the error by using an other newlib version, or did I something
> wrong when I was creating my toolchain?

  Does the m5307 have an FPU?

  Did you compile newlib using software FP emulation, or is it trying to
invoke non-existent FPU opcodes?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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