Re: [fpc-pascal] Shared Object Libraries non-PIC

2005-07-18 Thread Jonas Maebe
On 17 Jul 2005, at 01:34, L505 wrote: How does the calling program know that it's not PIC (position independant code)? The linker can find this out while loading the dynamic library (if there are relocation entries in text sections, then it's no PIC). You should not have to do anything s

[fpc-pascal] Shared Object Libraries non-PIC

2005-07-16 Thread L505
How does the calling program know that it's not PIC (position independant code)? i.e. how would you stop a calling program from thinking so? Is it based on what directory you put the file in? How do you force a linux program to call a new .SO copy per each process. _