vause@ncrcae.Columbia.NCR.COM (Sam Vause) (08/27/87)
I have contacted Mr. Soley directly to explain how to use the compiler option for the math libraries. Thanks to each one for their suggestions! +------------------------------------------------------------------+ |Sam Vause, NCR Corporation, TOWER International Customer Services,| |3325 Platt Springs Road, West Columbia, SC 29169 (803) 791-6953 | | ...!ucbvax!sdcsvax!ncr-sd!ncrcae!vause | +------------------------------------------------------------------+
soley@well.UUCP (08/28/87)
Thanks to those who commented on my posting about this problem. Sorry about the mis-posting. Correction accepted and applied in the future. However in hindsight this may belong in comp.bugs.sys5 after all. It seems that on the Tower XP the -lm option is sensitive about where it lives in the cc command line and the format of the other options present. This was unearthed after a long discussion with NCR software support. For example: cc -O -o outfile infile.c -lm Fails cc -O -lm infile.c -ooutfile Succeeds