Re: Linking against indirect dependencies

2004-05-31 Thread Szombathelyi György
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu szombat 29 mÃjus 2004 12:41 dÃtummal ezt Ãrta: > On May 28, 2004, Szombathelyi GyÃrgy <[EMAIL PROTECTE

RE: Linking against indirect dependencies

2004-05-29 Thread Howard Chu
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Alexandre Oliva > On May 28, 2004, Szombathelyi GyÃrgy <[EMAIL PROTECTED]> wrote: > > > AFAIK it's possible to link in libdep to libfoo if libdep is static > > Depends on the platform. Some combinations

Re: Linking against indirect dependencies

2004-05-29 Thread Alexandre Oliva
On May 28, 2004, Szombathelyi GyÃrgy <[EMAIL PROTECTED]> wrote: > AFAIK it's possible to link in libdep to libfoo if libdep is static Depends on the platform. Some combinations of OSs, ABIs and hardware architectures don't allow non-PIC in shared libraries. Yes, several of the platforms that do

Re: Linking against indirect dependencies

2004-05-28 Thread Szombathelyi Gy�rgy
Friday 28 May 2004 09:27 dátummal ezt írta: > And there's another problem. When libtool passes -ldependency in the > command line, the linker will look for libdependency in the > directories where it looks for libraries (-L). If libdependency is > only brought in by another shared library that h

Re: Linking against indirect dependencies

2004-05-28 Thread Alexandre Oliva
On May 26, 2004, Bob Friesenhahn <[EMAIL PROTECTED]> wrote: > It also depends on libtool being 100% accurate in determining if a > library is a static library or a shared library since static > libraries don't support library dependencies. And there's another problem. When libtool passes -ldepen

Re: Linking against indirect dependencies

2004-05-28 Thread Szombathelyi György
Hello! Bob Friesenhahn írta: It is not an easy task to intuit which systems require the full linkage list and which will work properly with an abbreviated list. Even older Linux versions require the full linkage list (or several copies thereof!). A further problem is that libtool doesn't reliabl

Re: Linking against indirect dependencies

2004-05-27 Thread Szombathelyi György
Hello! Scott James Remnant Ãrta: Patch was written and rejected; The Debian libtool packages include it. What was the reason of the rejection? The static - dynamic library issue? As I see from the debian diff, it has some logic to find out if the linked libraries are static or dynamic. Can it be

Re: Linking against indirect dependencies

2004-05-26 Thread Scott James Remnant
On Wed, 2004-05-26 at 08:07 +0200, Szombathelyi GyÃrgy wrote: > > Yes, I read the thread. I agree that libtool should perform the > > optimization you want but I don't see it as something that is a > > show-stopper. > > > I agree that it isn't a show-stopper, but it would be very nice if > libto

Re: Linking against indirect dependencies

2004-05-26 Thread Szombathelyi György
Hi! Here's another description of the problem, so I'm not the only one who think that a solution is needed. They mention pkg-config, not libtool, so maybe a fix required in pkg-config, too, but as I read the TODO in libtool, there are common goals in these projects, so the root of the problem s

Re: Linking against indirect dependencies

2004-05-26 Thread Bob Friesenhahn
On Wed, 26 May 2004, Szombathelyi György wrote: Yes, I read the thread. I agree that libtool should perform the optimization you want but I don't see it as something that is a show-stopper. I agree that it isn't a show-stopper, but it would be very nice if libtool could handle this. Can someone ad

Re: Linking against indirect dependencies

2004-05-25 Thread Szombathelyi György
Hello! Yes, I read the thread. I agree that libtool should perform the optimization you want but I don't see it as something that is a show-stopper. I agree that it isn't a show-stopper, but it would be very nice if libtool could handle this. Can someone add this 'feature' to the libtool TODO lis

Re: Linking against indirect dependencies

2004-05-25 Thread Bob Friesenhahn
On Mon, 24 May 2004, Albert Chin wrote: Of course the correct answer is that not linking against indirect dependencies is non-portable. Certainly Microsoft Windows DLLs require full linkage, and I believe/suspect that AIX does as well. I don't see it that way. If a backend optimization can be done

Re: Linking against indirect dependencies

2004-05-25 Thread Albert Chin
On Tue, May 25, 2004 at 11:37:38AM +0200, Szombathelyi_GyXrgy wrote: > >On Mon, 24 May 2004, Albert Chin wrote: > > > >>dependency_libs doesn't contain just libraries. Maybe LDFLAGS as well, > >>like -pthread. BTW, is it _really_ a problem to link against > >>everything in dependency_libs? Indirect

Re: Linking against indirect dependencies

2004-05-25 Thread Szombathelyi György
Bob Friesenhahn írta: On Mon, 24 May 2004, Albert Chin wrote: dependency_libs doesn't contain just libraries. Maybe LDFLAGS as well, like -pthread. BTW, is it _really_ a problem to link against everything in dependency_libs? Indirectly, this is going to happen anyway even if libtool doesn't do this

Re: Linking against indirect dependencies

2004-05-24 Thread Albert Chin
On Mon, May 24, 2004 at 07:32:01PM -0500, Bob Friesenhahn wrote: > On Mon, 24 May 2004, Albert Chin wrote: > > >On Mon, May 24, 2004 at 08:19:00AM +0200, Szombathelyi Gy?rgy wrote: > >>I've just curious if is it possible _not_ to link a program/lib against > >>its indirect dependencies. I mean if

Re: Linking against indirect dependencies

2004-05-24 Thread Bob Friesenhahn
On Mon, 24 May 2004, Albert Chin wrote: On Mon, May 24, 2004 at 08:19:00AM +0200, Szombathelyi Gy?rgy wrote: I've just curious if is it possible _not_ to link a program/lib against its indirect dependencies. I mean if libC is linked against libB and libB is against libA then libtool will link libC

Re: Linking against indirect dependencies

2004-05-24 Thread Albert Chin
On Mon, May 24, 2004 at 08:19:00AM +0200, Szombathelyi Gy?rgy wrote: > I've just curious if is it possible _not_ to link a program/lib against > its indirect dependencies. I mean if libC is linked against libB and > libB is against libA then libtool will link libC against libA, which is > not ne