I know, that these are some common/basic libraries, but what do they mean exactly?
For example, I know, that -lm
is some math library, but is this the st
The switch -lX generally means to load the library libX.so.
libm is the standard math library; it contains sin(), cos(), atanh(), all that good stuff.
libz is Zlib, a compression library which can do gzip, deflate, and a few other formats.
There are a couple of different librt's out there: one is the POSIX realtime extensions; another is a library of general-purpose programming aids.