Pawan Singh <[EMAIL PROTECTED]> wrote:
> I tried compiling with -msoft-float option and I start getting linker
> errors for functions like __muldf3, __adddf3, etc...
> 
> The MAN page states that GCC does not provide these functions. (even
> though I am building for 386).
> 
> So my question is this:
> Do embedded users who do not have a floating point unit on their
> processors write their own math emulation library? This seems to me to be
> too much of a problem. I am not used to worrying about being able to
> multiply and divide. I would rather buy a package (at least for standard
> processors like 386, PowerPC,...).
> 
> Are there any commercial or freeware packages out there which I can use?

Please go to http://sourceware.cygnus.com/glibc/ and look
libc/soft-fp directory and libc/sysdeps/i386/sfp-machine.h
in their cvs resources. You can use their cvsweb interface
to access these files even if you can not use cvs command
directly. I'm not sure whether they are what you want or not
and I don't know how to use them, but there are functions
like __muldf3, __adddf3 and so on.

        kaz


--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to