14.2. Using Libraries

To link with a library you must use the -l} sitch followed by the library name. Glibc's math library is called libm.so, you don't need the lib} r .so} arts to to use this library you add the switch -lm} o your compilation line.