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

Re: [Linux-cluster] static libs with PIC-code



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


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