floating point under Microport 286

John Plocher plocher at uport.UUCP
Mon Dec 12 08:01:12 AEST 1988


In article <711 at wa3wbu.UUCP> john at wa3wbu.UUCP (John Gayman) writes:
>In article <612 at cimcor.mn.org>, mike at cimcor.mn.org (Michael Grenier) writes:
>> #include <stdio.h>
>> main()
>> { float a; a=2.0; printf("%f\n",a); }
>> 
>     I'm not a C-guru so don't flame me but what is this code supposed to
>do if it works properly ?  I compiled this code two different ways on my
>Sys V/AT 2.3U system.
>
>	1. cc -o test test.c -lm
>	2. cc -o test test.c
>
>     When I run test, it just returns the cursor. No error, no nothing.

:-) :-) :-)   test is a built in shell command.  try executing it as ./test
		or renaming it as fptest.

As to the compiler problems, we have a version of the compiler internally which
fixes most (if not all) of the known bugs - it still needs to be validated, so
don't expect it to be avaliable for a while.

I will post something here when the compiler is avaliable for outside use.

    John Plocher



More information about the Comp.unix.microport mailing list