Help with sqrt() and #include <math.h> and what -l???

Jonathan Wilson jonwil@tpgi.com.au
Sun Feb 27 00:24:00 GMT 2005


Depends on the platform.
But, try -lm (to read libm.a) since that seems to be the "standard" on 
things like linux and other unix platforms.




More information about the Gcc-help mailing list