hofmann@ihuxv.ATT.COM (s) (06/26/87)
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