04-06-02 15.39, skrev James Mills följande: > On Wed, Jun 02, 2004 at 03:40:38PM +0200, Michael Van Canneyt wrote: >>> And PIC (Position Independant Code) generation is working too ? >> >> No. See the roadmap: scheduled for 1.9.6 > > Excuse me ignorance. I don't beleive I know what PIC is... What is PIC ?
In OS's like unix (dont know about windows/dos) the machine code has absolute adresses. This works because there is a virtual address space for each process. But if a shared library is used, it cannot use absolute addressing, since othersise it might collide with another shared library. Hence it has to be independant of where in memory it is loaded. And data has to be accessed relative the program counter. Code with this property is PIC. Olle _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal