Re: Crosscompiling with autobild
On Fri, 4 Aug 2000, Richard Zidlicky wrote:
> On Fri, Aug 04, 2000 at 09:52:11AM +0200, Jakov af Wallby wrote:
> > Hi!
> > I wonder if the debian package autobuilder can crosscompile to m68k?
> > On the linux-m68k list (with the m68k kernel hackers) the issue
> > of supporting the faulty MC68040 that can't handle floating point
> > emulation has come up a few times.
> > It turnes out the only way to support it is to compile all binaries
> > with soft-float.
> afaik soft-float does nothing reasonable itself, on linux-m68k it
> generates library calls that call the FPU instructions themselves.
> If that doesn't make much sense to you - you are probably not
> alone ;)
> You would need to write the library first.
Is that a fact? Please confirm, anyone!
Well... how hard could it be to port the emulation from the kernel
over to glibc?
(Or maybe a hack is in place: add a syscall in the linux kernel that
calls the kernel FPU emulation, then make the glibc generate that syscall
instead of generate a FPU instruction.)