problem with crosstool 0.28-pre28 supplied patch for gcc 3.3.[23] softfloat on ARM

Dimitry Andric dimitry@andric.com
Tue Aug 17 00:36:00 GMT 2004


On 2004-08-16 at 02:34:18 Lennert Buytenhek wrote:

> (You're also Dutch?)

Ja. :)


> I think it's applied correctly?  I'm trying this with hardfloat, if
> I use fpa or vfp softfloat it does print the right number.

Hm, it sure still looks like glibc has swapped it around...


>         volatile float x;
>         x = 1.0;
>         printf("%f\n", x);

Right, maybe something goes wrong here when the float is promoted to
double.  Can you try declaring x as double?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20040817/b66304ec/attachment.sig>


More information about the crossgcc mailing list