Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!bellcore!faline!thumper!ulysses!andante!alice!debra From: debra@alice.UUCP (Paul De Bra) Newsgroups: comp.unix.microport Subject: Re: floating point under Microport Message-ID: <8512@alice.UUCP> Date: 11 Dec 88 01:42:26 GMT References: <612@cimcor.mn.org> <711@wa3wbu.UUCP> Reply-To: debra@alice.UUCP () Organization: AT&T, Bell Labs Lines: 30 In article <711@wa3wbu.UUCP> john@wa3wbu.UUCP (John Gayman) writes: ]In article <612@cimcor.mn.org>, mike@cimcor.mn.org (Michael Grenier) writes: ]> [correct c-program deleted] ] ] 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 ? I've tried supplying an argument to "test" and it ]still just returns the cursor. I might add that my machine has a 80287 ]installed. ] OK, here is lessen 1 in C-programming on Unix: Never call your program "test". test is a shell built-in and also a program in /bin (for shells which might not have test as a built in... So please try again with another name. This program should really work. Paul. -- ------------------------------------------------------ |debra@research.att.com | uunet!research!debra | ------------------------------------------------------