On Mar 25, 2000, Jason Day <[EMAIL PROTECTED]> wrote:

> This is what I'll do then.  Maybe this could be a future enhancement to
> libtool?

Libtool can't do that in general, since it cannot assume an archive
contains PIC code.  However, this gives me an idea: we could have some
mechanism to create an .la file for existing libraries.  You'd run
libtool for linking just as usual, but with a flag telling it to not
perform any actual linking, just the creation of the .la files.  Then,
it would be trivial to create a convenience library out of an existing
.a file, then use it to create a shared library.  But I repeat: this
would only work portably if the archive contained PIC code.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to