Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 1999 15:54:11 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        freebsd-hackers@FreeBSD.org
Subject:   Using non-PIC code in shared libraries?
Message-ID:  <199911082254.PAA02935@mt.sri.com>

next in thread | raw e-mail | index | archive | help
What happens when this is done?  Can it ever work?

How about the reverse, where you link in PIC compiled libraries into
static (.a) libraries?  Does this work?

Assuming it works (in either case) are there any performance
hits/advantages to either?

My impression from past discussions is that you can't use non-PIC code
in shared libraries (it won't work), and that you can use PIC code in
static libraries, but you take a performance hit for it...

Am I right?



Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911082254.PAA02935>