tower@shiva.trl.oz (Tower) (02/21/90)
I am having trouble using the library classes SINGLE_MATH and DOUBLE_MATH. In particular, the problem seems to be that the C maths library is not automatically linked when these classes (which need it) are used. Even if I add `-lm' to the EXTERNAL list in the SDF, the compilation system does not link it last (as is required by the standard Unix linker, ld). So far, the only workaround I have found is to generate a C-package, and edit the makefile by hand to put -lm at the end of the link list. This is a nuisance, and slows development! Has anybody else out there had this problem? Am I missing something here? As usual, thanks in advance for any help. Mark Summerfield (as `tower'!) PS If you wish to reply by Email, use summer@rhea.trl.oz.au as I am posting this from an account used by a number of people.