[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] math emulation ?



Michael Barabanov wrote:
> 
> Wolfgang Guldner (w.guldner@bfad.de) wrote:
> > Hello everybody,
> >
> > I installed rtlinux2.0 on a 486 AMD SC410 without FPU, so I turned on
> > the CONFIG_MATH_EMULATION  in the Kernel.
> > Everything works fine until I try to start the fp example. Then the System
> > crashs with the following message:
> >
> > math_emulate: 0010:c1823aa9
> > Kernel panic: Math emulation needed in kernel
> >
> > What can I do?
> 
> Right now, you can't use RT-threads that use FP on CPUs without an FPU.
> You can help with making RTLinux use the Linux FP emulator code.


Another possibility may be to complile using gcc with -msoft-float,
which would prevent the generation of floating point code.  The problem
is I don't know whether the libraries you need would be safe in RT,
maybe they could be used as a starting point.

Regards, Stuart