Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!mordor!lll-tis!ptsfa!ihnp4!ihuxv!hofmann From: hofmann@ihuxv.ATT.COM (s) Newsgroups: comp.sys.atari.st Subject: Alcyon double precision math Message-ID: <1995@ihuxv.ATT.COM> Date: Fri, 26-Jun-87 13:05:17 EDT Article-I.D.: ihuxv.1995 Posted: Fri Jun 26 13:05:17 1987 Date-Received: Sat, 27-Jun-87 10:36:47 EDT Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 19 Keywords: Alcyon, double precision, math How do I compile and link properly with the double precision math library, libm, with the Alcyon compiler/linker system? If I use the compiler flag " -e" specified in the Manual, I get an error message stating that only certain flags (including -e!) are legal and the compiler (1st pass) dies. If I follow the bat files example given with the compiler and linker disks, which do not use a compiler flag but link with libm, the test program compiles and links ok, but does not execute properly. The test program simply defines c as double, sets it to 1. then uses printf("c= %f", c) or printf("c= %lf", c) to output c. I always get c= , i.e. no value for c output. Any help on this problem would be greatly appreciated. Jim Hofmann AT&T Bell Laboratories Naperville, IL (312)979-1237 ..!ihnp4!ihuxv!hofmann