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

Wolfgang Denk wd at denx.de
Thu Mar 3 17:52:53 CET 2005


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.

> 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.

> 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.]

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The universe does not have laws - it has habits, and  habits  can  be
broken.




More information about the U-Boot mailing list