This is the mail archive of the crossgcc@sources.redhat.com 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: cross-gcc : FPU type error


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.

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]