-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bob Friesenhahn wrote:

On 12 Jun 2003, Thomas Maier wrote:


I think I have a problem with libtool and cyclic dependencies.  Say, I
want to build two libraries a.la and b.la.  a uses things from b and
vice versa.  When compiling these libs without libtool, first I compile
one, then the other.  When linking a program p that uses a *or* b, I
have to link p with a *and* b.  Fine.  I only checked that because I had


Uugh.  Even without libtool, creating libraries with interdependencies
causes portability problems because some linkers (which even includes
linkers in older versions of Linux) require that the libraries be
listed in inverse dependency (left to right) order.

Not only that, but on MacOSX for prebinding to occur all symbols have to be resolvable at link time, and even for linking in general unless you explicitly tell it otherwise (which libtool normally does, but there are cases in which it won't).


For the future portability, I implore that you go with what Bob suggested. :)

- -- Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
A computer scientist is someone who, when told to 'Go to Hell', sees
the 'go to', rather than the destination, as harmful.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQE+6LECUu+jZtP2Zf4RAk0AAJ9HmsV93gcIUgRt7E4XjEYrD4ASKQCfVxQi
11ZQhczXh6rC9l6JF7RN0Sc=
=kO7T
-----END PGP SIGNATURE-----



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to