Re: RFC: proposal for indirect deplibs

2004-12-22 Thread Alexandre Oliva
On Nov 24, 2004, Ralf Wildenhues [EMAIL PROTECTED] wrote: On the other hand, on systems without a needed-following linker, it is necessary to explicitly list all dependent libraries. It's a bit more complicated than this, actually. Some linkers are smart enough to look for dependencies, but

Re: RFC: proposal for indirect deplibs

2004-11-27 Thread Ralf Wildenhues
* Albert Chin wrote on Fri, Nov 26, 2004 at 10:09:31PM CET: On Wed, Nov 24, 2004 at 10:19:44AM +0100, Ralf Wildenhues wrote: Before Libtool version 2.2, the handling of inter-library dependencies has ignored the fact that some system linkers are smart enough to figure out the library

Re: RFC: proposal for indirect deplibs

2004-11-27 Thread Gary V. Vaughan
Hey Ralf! Ralf Wildenhues wrote: * Albert Chin wrote on Fri, Nov 26, 2004 at 10:09:31PM CET: On Wed, Nov 24, 2004 at 10:19:44AM +0100, Ralf Wildenhues wrote: Before Libtool version 2.2, the handling of inter-library dependencies has ignored the fact that some system linkers are smart enough to

Re: RFC: proposal for indirect deplibs

2004-11-27 Thread Ralf Wildenhues
* Gary V. Vaughan wrote on Sat, Nov 27, 2004 at 07:47:35PM CET: Ralf Wildenhues wrote: * Albert Chin wrote on Fri, Nov 26, 2004 at 10:09:31PM CET: My proposal: On systems with smart linker: for every interface change, only update the set of libraries and programs exposed to this change.

Re: RFC: proposal for indirect deplibs

2004-11-26 Thread Ralf Wildenhues
Hi Scott, everybody else, * Scott James Remnant wrote on Fri, Nov 26, 2004 at 07:32:39AM CET: On Wed, 2004-11-24 at 10:19 +0100, Ralf Wildenhues wrote: needed-following linker: A system with a needed-following linker has a means to record dependencies on other libraries within a library

Re: RFC: proposal for indirect deplibs

2004-11-25 Thread Joe Orton
On Wed, Nov 24, 2004 at 10:14:35PM -0800, Noah Misch wrote: For safety, libtool would assume that unadorned dependent libraries contribute to the API. An option, say `-private-libs', would mark the start of normal dependencies. For example, the link command for libbar might look like this:

Re: RFC: proposal for indirect deplibs

2004-11-25 Thread Bob Friesenhahn
On Thu, 25 Nov 2004, Joe Orton wrote: On Wed, Nov 24, 2004 at 10:14:35PM -0800, Noah Misch wrote: For safety, libtool would assume that unadorned dependent libraries contribute to the API. An option, say `-private-libs', would mark the start of normal dependencies. For example, the link command

Re: RFC: proposal for indirect deplibs

2004-11-25 Thread Scott James Remnant
On Wed, 2004-11-24 at 10:19 +0100, Ralf Wildenhues wrote: Libtool and inter-library dependencies == needed-following linker: A system with a needed-following linker has a means to record dependencies on other libraries within a library (based on the

RFC: proposal for indirect deplibs

2004-11-24 Thread Ralf Wildenhues
This is a draft on how to proceed with the link_all_deplibs problem. The idea is to expose the complexity portably to the user. The rationale is that people get bitten by this complexity anyway, so there is little gain in hiding it. At the same time, systems without needed-following linker should

Re: RFC: proposal for indirect deplibs

2004-11-24 Thread Ralf Wildenhues
* Thien-Thi Nguyen wrote on Wed, Nov 24, 2004 at 11:53:25AM CET: Ralf Wildenhues [EMAIL PROTECTED] writes: [definitions] my head is already swimming because dependent, dependency and dependence all are very subtly different and have different meanings in different contexts. OK. Let's

Re: RFC: proposal for indirect deplibs

2004-11-24 Thread Jacob Meuser
On Wed, Nov 24, 2004 at 02:05:50PM +0100, Ralf Wildenhues wrote: * Thien-Thi Nguyen wrote on Wed, Nov 24, 2004 at 11:53:25AM CET: Ralf Wildenhues [EMAIL PROTECTED] writes: [definitions] my head is already swimming because dependent, dependency and dependence all are very subtly

Re: RFC: proposal for indirect deplibs

2004-11-24 Thread Bob Friesenhahn
On Wed, 24 Nov 2004, Ralf Wildenhues wrote: Definitions: direct dependency: A program or library has a direct dependency on a library, if it depends on some interface that library provides, see node Interfaces for a more thorough description. More classifications should applied for direct

Re: RFC: proposal for indirect deplibs

2004-11-24 Thread Noah Misch
On Wed, Nov 24, 2004 at 07:47:54PM -0600, Bob Friesenhahn wrote: On Wed, 24 Nov 2004, Ralf Wildenhues wrote: direct dependency: A program or library has a direct dependency on a library, if it depends on some interface that library provides, see node Interfaces for a more thorough

Re: RFC: proposal for indirect deplibs

2004-11-24 Thread Noah Misch
This is a great document. A few comments -- On Wed, Nov 24, 2004 at 02:05:50PM +0100, Ralf Wildenhues wrote: needed-following linker: A system with a needed-following linker has a means to record dependencies on other libraries within a library (based on the soname of the dependency