I can never remember what to type when linking include files in GCC, in fact the only one I can remember is -lm
for math.h
. The one I am specifically concerned with right now is sys/time.h
.
This page clears things up some, but I would still like a list.
Does anyone know of a good list of linking options?
EDIT:
Maybe my question was not clear. I want to know what I need to type at the command line (like -lm
for math or -lpthread
for pthread) for the various libraries I might need to link when making C programs.