libtool-patches
[Top][All Lists]
Advanced

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

Inter-library dependencies


From: Carlo Wood
Subject: Inter-library dependencies
Date: Sun, 22 Oct 2000 15:26:42 +0200
User-agent: Mutt/1.1i

Hi,

I just subscribed to this list in order to help with a few problems with
inter-library dependencies that I did run into.

------------------

I wrote a package that exists of two libraries, both of which are build
with libtool.  One of the libraries is independant of the other, this one
gets configured first and after issueing a `make' it gets build first.

Whether or not an (old version of) the independant library (cwd) is
installed or not, the dependant library (cw) forms a unity with the first
and should always link with the version that comes with the package.

Therefore, what needs to happen is:

The package is configured
The package is build (building two libraries)
The testsuite is run.

The testsuite links only with libcw; libtool should figure out that this
library depends on libcwd (which in turn depends on libdl, libbfd and
libiberty, and on some OS also on libintl) and should then link the tests
with the newly compiled libcwd.

What happens however is that it only links with -lcwd in the plain
usual way, failing to find the not-yet-installed libcwd, or silently
linking with an already installed old version.

Needless to say that an install and subsequent link with -lcw
should automatically get the *installed* libcwd etc.

------------------

I offer to spend all my time on this (more than 8 hours per day) until it
works (within a week), provided I get extensive feedback when needed, there
is interest to fix this and at least one of you also has a few hours to
spend on this per day this week.  I'll need to be 'worked in' first :).

Regards,

-- 
Carlo Wood <address@hidden>                        -=- Jesus Loves you -=-



reply via email to

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