[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] linking libraries in C



On Wednesday 23 Jan 2002 2:21 am, you wrote:

> Suppose I #include <math.h> then I have to link against libm.so with -lm

Not usually. libm is linked automatically these days.

> how do I tell which libraries to link against for a given header file?

Guesswork. :)

No, really...
 
___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.