[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building shared libs as dynamically-loaded perl modules
From: |
Jeremy Slade |
Subject: |
Re: Building shared libs as dynamically-loaded perl modules |
Date: |
Fri, 16 Feb 2001 15:13:19 -0700 (MST) |
Brian May writes:
> >>>>> "Alexandre" == Alexandre Oliva <address@hidden> writes:
>
> Alexandre> And that's the catch. On some platforms, you just
> Alexandre> can't link static libraries into shared ones. Not even
> Alexandre> if they're PIC.
>
> Yuck.
>
> Alexandre> Convenience libraries, with the
> Alexandre> abstraction of ``aliases to sets of objects'', should
> Alexandre> just work. It's just that they are not currently
> Alexandre> installable. I wish they were. And I wish convenience
> Alexandre> libraries could still come in PIC and non-PIC versions,
> Alexandre> just like object files. Currently, every time you
> Alexandre> create a convenience archive, you don't get the non-PIC
> Alexandre> objects, unless the PIC objects aren't available.
>
> I agree here. I think convenience libraries need to compile two sets
> of libraries: *.a which contains non-PIC code and *.al which contains
> PIC code.
And they need to be installed so they are usable by other packages --
otherwise there's not a lot of 'convenience' there...
Jeremy
--
Jeremy Slade
Hewlett-Packard Company VLSI Technology Center - http://cpus.hp.com/
address@hidden (970) 898-7881