-lm not required when including functions from math.h

Eljay Love-Jensen eljay@adobe.com
Fri Jun 27 17:07:00 GMT 2008

Hi Harvey,

Some math functions are built into the compiler.

Some math functions are macros in the math.h header.

Some platforms include -lm (or the analogous equivalent) for you.


More information about the Gcc-help mailing list