[ECOS] [Fwd: [ECOS] printf and floating point emulation]
Andrew Lunn
andrew@lunn.ch
Thu Apr 10 19:07:00 GMT 2008
On Thu, Apr 10, 2008 at 10:57:32AM -0300, Eduardo Sabaj wrote:
> I'm working with one of the pre-built toolchains for Intel x386 which
> I've downloaded some years ago. Anyway, yesterday I downloaded this same
> toolchain from http://ecos.sourceware.org/getstart.html.
>
> I executed:
>
> wget --passive-ftp
> ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl
> sh ecos-install.tcl
>
> Then I compiled sprintf1.c with this new environment and the result is
> the same. The program crashes with the first line with %f format.
Humm. The only ideas i have are
1) Disassemble the code and see if it is still using the FPU.
2) Make sure your libgcc1.a was build with the same flags as eCos. This
library from the tool chain must also not use the FPU.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list