[Linux-cluster] static libs with PIC-code
Lon Hohberger
lhh at redhat.com
Tue Feb 8 16:58:23 UTC 2005
On Tue, 2005-02-08 at 11:17 -0500, Lon Hohberger wrote:
> On Tue, 2005-02-08 at 14:54 +0100, Bastian Blank wrote:
> > cman, dlm and magma build static libraries with PIC-code, this makes it
> > impossible to link that code into binaries.
>
> Eh? On what architecture?
Building -fPIC/-fpic generates position independent code, which is
needed on some architectures in order to create dynamically-loadable
plugins/libraries which use static libraries during linking. Building
without -fPIC precludes this use.
-- Lon
More information about the Linux-cluster
mailing list