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

Re: [Sheflug] linking libraries in C



On Wed, 23 Jan 2002 02:59:25 +0000
Will Newton <will [at] misconception.org.uk> wrote:

> Not usually. libm is linked automatically these days.

Slackware 7 doesn't but it's a few years old now.

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

Hmm... I see the nemesis of a project...

First scan the source code for occurences #include <*>, look up the
required libs in a database and then write output in Makefile format.

Even I could do that. And I might.

thanks

A. Basterfield
___________________________________________________________________

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.