On Sat, Mar 25, 2000 at 05:16:52PM -0300, Alexandre Oliva wrote:
> 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.

That should be added to the TODO for 1.5 I think.  IIRC, there have
been a few reports of this very same problem with linking one of the
perl libraries into libtool libraries.  It would be a big win to fix
this.

Cheers,
        Gary.
-- 
  ___              _   ___   __              _ mailto:[EMAIL PROTECTED]
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       [EMAIL PROTECTED] 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \      
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

Reply via email to