libfloat is only used when the -msoft-float flag is passed. Otherwise the
compiler issues instructions for the FPA11 coprocessor for floating point. This
requires the actual hardware, or an emulator such as the one Russell provides or
the NWFPE.
To use -msoft-float with gcc requires a library implementing the functions that
the gcc calls instead of using machine based floating point operations.
libfloat implements this for ARM systems. AFAIK, gcc has no implementation of
software floating point, and even if it did, I doubt it supports ARM doubles
correctly.
Scott
Mark Hatle wrote:
>
> I hope this is the correct place to ask...
>
> I am working on compiling the toolchain for StrongArm. I'm starting
> with the Netwinder stuff, however I noticed that they were using an
> external library (libfloat) instead of the built in gcc functions.
>
> Is there a reason for this? As far as I can tell all of the
> architectures I am familiar with use the built in gcc soft floating
> point.
>
> Thanx!
> --Mark
>
> unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
> ++ Please use [EMAIL PROTECTED] for ++
> ++ kernel-related discussions. ++
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++