how to find necessary library

Uwe Kiewel ml@kiewel-online.ch
Fri Dec 12 14:28:00 GMT 2008


Hi,

is there a option to find automatically the necessary library for 
linking a program?

Example:

If I use #include<math.h> I have to use -lm  Okay, I know this. But, if 
I use #include<sql.h> how do I know which library I need?

TIA,
	Uwe



More information about the Gcc-help mailing list