floating point under Microport

Phil Eschallier phile at lgnp1.LS.COM
Mon Dec 12 02:57:09 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);
> > }
> > Does this work on anyone's 286?
>      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.
> Is this correct ?


	no this is not correct!

	you should note that "test" is a built in shell function
	so when you enter "test" at the shell prompt, that is what
	you are using.  you may either use "./test" or name the
	little program just about anything else.


--
	phil eschallier


				sorry, but no fancy .signature



More information about the Comp.unix.microport mailing list