c++unixgcclinker

GCC -lm -lz -lrt options - what are they about?


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 standard math library or what?

-lz for compression? What compression?

And I don't have any idea what -lrt is.


What are these things?


Solution