cross-gcc : FPU type error

Dimitry Andric dimitry@andric.com
Wed May 26 15:11:00 GMT 2004


On 2004-05-26 at 11:26:00 Wouter van Heyst wrote:

>>   CFLAGS          +=-mapcs-32 $(arch-y) $(tune-y) -malignment-traps -msoft-float
>>   AFLAGS          +=-mapcs-32 $(arch-y) $(tune-y) -msoft-float

> I would not drop the -Uarm though.

Well, the comment in the Makefile right above these lines is:

  # Need -Uarm for gcc < 3.x

so when using gcc 3.4.0, it's probably not required. :)


> Are you running an entire softfloat system now?

Yup, running glibc + all apps with softfloat, VFP format.  However,
since the kernel shouldn't use any floating point anyway, I'm not very
sure why they added -msoft-float to the compilation options.  For
kernel compiles, it would be nice to have a -Werror-on-fp option, or
something like that.
-------------- 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/20040526/b9779336/attachment.sig>


More information about the crossgcc mailing list