[uClibc]Floating point exception
Erik Andersen
andersen at codepoet.org
Tue May 20 05:47:18 UTC 2003
On Mon May 19, 2003 at 08:44:16AM +0200, IGOR LURI wrote:
> Hi all,
>
> I need to debug threads with uclibc, so I have downloaded uclibc-0.9.19 and
> I have built the toolchain with
>
> binutils-2.12.1
> elf2flt-20020731
> gcc-20011006 (2.95)
> kernel-headerrs-2.4.18
> STLport-4.5.3
[---------------snip-------------]
> With this toolchain I can debug threads, but now I can´t execute code using
> float casts
>
> Int x,y;
> Result = (float)x * (float )y;
>
> because it faults with a floating point exeption.
>
> What I am doing wrong?
I see that you are using soft float support. But it looks like
gcc is generating hard float opcodes...
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list