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

Re: .so and .a libs, tcl, postgres = in over my head



On Mon, 6 Jul 1998, Dan Jacobowitz wrote:

> > Not a problem if the executable loads it once, and then forks, so the
> > linking is only done once. The executable itself is also non-pic code. 
> 
> So - the PIC slowdown only occurs at linking and not during use,
> correct?

Nope. PIC is to enable linking of the same library multiple times, so the
code is actually shared between the executables. If you link nonPIC code
multiple times, then all the code will be duplicated. I meant that if you
load a lib only once, then you dont need PIC code, so it can be faster.

--
Madarasz Gergely           gorgo@caesar.elte.hu         gorgo@linux.rulez.org
      It's practically impossible to look at a penguin and feel angry.
          Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
              HuLUG: http://www.cab.u-szeged.hu/local/linux/



--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: