Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!bruce!trlluna!shiva!tower From: tower@shiva.trl.oz (Tower) Newsgroups: comp.lang.eiffel Subject: Maths library linking problems Message-ID: <1071@trlluna.trl.oz> Date: 21 Feb 90 03:53:04 GMT Sender: root@trlluna.trl.oz Reply-To: tower@shiva.trl.oz (Tower) Organization: Telecom Research Labs., Switched Networks Research Branch Lines: 18 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.