[U-Boot-Users] ...uses hardware FP, whereas u-boot uses software FP...

Steven Scholz steven.scholz at imc-berlin.de
Thu Mar 3 17:57:43 CET 2005


Wolfgang Denk wrote:
> In message <42273E35.50408 at imc-berlin.de> you wrote:
> 
>>>I repeat: Your  compiler  libraries  are  built  using  hardware  FP,
>>>whereas u-boot uses software FP.
> 
> ...
> 
>>Since my user applications seems to run fine under linux I assume that my glibc 
>>supports softfloat.
> 
> 
> Maybe, maybe not.

Any hint how I could make sure and test it?

>>U-Boot does not use glibc but libgcc.a. Since the compiler complains while 
> 
> No. U-Boot does NOT use libgcc.a.
> 
> It is your compiler which requires libgcc.a.
Ok. Thanks.

>>compiling U-Boot, it seems that my libgcc.a does not support softfloat.
>>So the problems lies in how my compiler was built and not how the glibc was built.
>>Did I get this right?
> 
> Right. It has nothing to do with glibc. It's the  compiler  libraries
> which  use  hardware  FP, which does not mix with any other code that
> uses soft-float.
> 
> [This is why I have doubts if your  Linux  stuff  really  uses  soft-
> float;  you'd  run  in  the  same  problem  there, too. But this is a
> different issue.]
Ok.

Thanks a million so far. I guess I try my luck on crossgcc at sources.redhat.com then.

--
Steven




More information about the U-Boot mailing list