[Top][All Lists]

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

Re: difference between link objects and librarys

From: Ralf Wildenhues
Subject: Re: difference between link objects and librarys
Date: Mon, 21 Jun 2004 08:42:57 +0200
User-agent: Mutt/1.4.1i

* David T Farning wrote on Mon, Jun 21, 2004 at 12:41:00AM CEST:
> I am unclear as to the difference between LIBADD and LDADD.  Diffent 
> resources seems to say different things.

To make it clear:

Whether to use *_LDADD or *_LIBADD, does not depend on what's to the
right of it (may that be a Libtool library, a "normal" library, or
merely object files), but what's to the left of _LDADD or _LIBADD

It makes a difference whether you are trying to *build* a program or
a library.  So, it's always
and so on.

Does that help?

> >From  
>    Libtool libraries have the .la suffix, instead of .a
>    We need to use _LIBADD instead of_ LDADD.

Tell the author of this site to improve his wording, as it is not quite
clear on this point.

> For instance
>    lib_LTLIBRARIES =
>    something_la_SOURCES =
>    something_la_LIBADD = sub/

This example is ok, however.  He just left out a few explaining steps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]