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


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

Did you compile/assemble/link your source with the appropriate -m
command to specify that you have a V3 coldfire core (that does not
have an FPU)?

-- 
Peter Barada
peter@the-baradas.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]