Re: inter-library linking
Ralf Wildenhues wrote: 1) Explicit linkage of libshared against libfoo should cause the runtime linker to pull it in: lib_LTLIBRARIES = libfoo.la libshared.la libshared_la_LIBADD = libfoo.la libfoo_la_SOURCES = ... ... If that's what you already did, but it's producing errors anyway, then please post a build log that contains the mode=link and mode=install commands for both of these libraries plus all output they generate, and the error output of the `LD_PRELOAD=...' command. I did this - I will re-iterate and post the log. Good, because I don't yet see why this doesn't work. I tested it again, and it now works like a charm - maybe too good? I link "libshared" against the shared "libfoo" as a libtool archive (as shown above), and all symbols from libfoo are placed within libshared; no references to libshared remain in libfoo. Is this the expected behaviour? More details if required. Joachim -- Joachim Worringen, Software Architect, Dolphin Interconnect Solutions phone ++49/(0)228/324 08 17 - http://www.dolphinics.com ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: inter-library linking
* Joachim Worringen wrote on Tue, Oct 16, 2007 at 11:24:27AM CEST: > Ralf Wildenhues wrote: 1) Explicit linkage of libshared against libfoo should cause the runtime linker to pull it in: lib_LTLIBRARIES = libfoo.la libshared.la libshared_la_LIBADD = libfoo.la libfoo_la_SOURCES = ... ... If that's what you already did, but it's producing errors anyway, then please post a build log that contains the mode=link and mode=install commands for both of these libraries plus all output they generate, and the error output of the `LD_PRELOAD=...' command. >>> I did this - I will re-iterate and post the log. >> >> Good, because I don't yet see why this doesn't work. > > I tested it again, and it now works like a charm - maybe too good? I link > "libshared" against the shared "libfoo" as a libtool archive (as shown > above), and all symbols from libfoo are placed within libshared; no > references to libshared remain in libfoo. Is this the expected behaviour? Not really. If both are shared libraries, then libshared should not contain code from libfoo, only a DT_NEEDED entry. > More details if required. Yes, please post (cut and paste) the mode=link and mode=install commands and all their output, as I indicated above. That way I can avoid any guess work. Thanks, Ralf ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: Migration to Git?
Hallo All, Catching up on my mailing list backlog... *blush* On 1 Oct 2007, at 16:10, Bob Friesenhahn wrote: On Mon, 1 Oct 2007, Benoit SIGOURE wrote: I think that the current priority for libtool *must* be to finish the first 2.X release. Any distraction (regardless of apparent merit) will simply postpone that release even further. Yes, that's right. When will this happen? Is there a TODO list of things that are still to be done before we can release 2.X? I'd be glad to help if I can. Yes, there is a TODO list. Gary is working on the remaining big task (deciding how to build/use libltdl in a project). Since he is likely to strongly prefer git, then this could serve as extra incentive to get the task completed. :-) The task proper is done, but I'm flat out on a big release schedule at work. As soon as I have a couple of days outside the release (where I can stand to be still on my computer) I just need to write a test case or two, and check that everything is behaving as expected... Once I started managing my patch queue with quilt I gave up maintaining the Arch repositories, so they are certainly very out of date by now (if they even still work at all). But you're right, we need to get past the release first, and once the dust has settled on that, I would love nothing more than to move from CVS to a modern SCM :-D Cheers, Gary -- ())_. Email me: [EMAIL PROTECTED] ( '/ Read my blog: http://blog.azazil.net / )= ...and my book: http://sources.redhat.com/autobook `(_~)_ Join my AGLOCO Network: http://www.agloco.com/r/BBBS7912 PGP.sig Description: This is a digitally signed message part ___ http://lists.gnu.org/mailman/listinfo/libtool