floating point under Microport

Michael Grenier mike at cimcor.mn.org
Sat Dec 10 09:28:54 AEST 1988


OK, if this is a compiler bug, I might finally admit that
SCO is better (and it will hurt too!).

I'm trying to print a floating point number and it gives me the old
core dump problems people have mention here.

#include <stdio.h>
main()
{
	float a;
	a=2.0;
	printf("%f\n",a);
}


Does this work on anyone's 286?
I didn't look real hard but the assembly language was reasonable other
than the inefficient use of fwait. The sdb debugger was hopeless...why
can't it trap a floating exception instead of giving me a core dump
of the debugger?

Has anyone attempted to port GCC over to this brain dead 16 bit
architecture?

Better yet, can anyone recommend a cheap way to upgrade to a 80386
processor? Awhile back people were talking about using a 386SX with
a PAL on a small board which could be placed into the 286 socket...
Anyone know of such a thing?
I've seen motherboards now under $1000 which is tempting.

     -Mike Grenier
     mike at cimcor.mn.org
      uunet!rosevax!cimcor!mike
      {anybody whose anybody}!bungia!cimcor!mike



More information about the Comp.unix.microport mailing list