libtool
[Top][All Lists]
Advanced

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

Re: Including static libraries in shared libraries with libtool.


From: Sam Varshavchik
Subject: Re: Including static libraries in shared libraries with libtool.
Date: Sun, 26 Sep 2004 19:12:33 -0400

Howard Chu writes:

One more time, shouting into the senseless void...

If these so-called "convenience" libraries are meant to be linked in whole, they should not be ar archives at all. You should just link them directly into a relocatable object file:
    ld -r -o <convenience.obj> *.o

And do we know that all platforms have a program called "ld", then implements the "-r" option with the given semantics?

That's really the whole point of libtool - to isolate platform-specific linker issues. Might as well chuck libtool completely, and invoke ld by yourself, if you know what you're doing.

Attachment: pgpAsKeuhI1jM.pgp
Description: PGP signature


reply via email to

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