Path: utzoo!utgpu!tmsoft!dptcdc!dpmizar!swrinde!cs.utexas.edu!tut.cis.ohio-state.edu!cwjcc!hal!nic.MR.NET!umn-cs!bungia!cimcor!mike From: mike@cimcor.mn.org (Michael Grenier) Newsgroups: comp.unix.microport Subject: floating point under Microport Message-ID: <612@cimcor.mn.org> Date: 9 Dec 88 23:28:54 GMT Organization: Grenier & friends, Forest Lake, MN Lines: 34 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 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@cimcor.mn.org uunet!rosevax!cimcor!mike {anybody whose anybody}!bungia!cimcor!mike