[fpc-pascal]packages, libs

Florian Klaempfl Florian.Klaempfl at gmx.de
Sun Sep 15 18:12:25 CEST 2002


At 16:43 15.09.2002 +0200, you wrote:
>Hi all,
>
>AFAIK fpc supports libs (c -> pascal, pascal -> c, object pascal -> object 
>pascal, dynamic, static, smart).

Not complete, FPC dynamic libs with PIC aren't possible. But the PIC 
support is a problem: PIC requires
one register permanently to hold the GOT. But the FPC code generator
can't handle this if it lacks one register. We're planning currently to 
rewrite the 1.1 register allocation
and this should allow PIC support as well. But this isn't a solution for 1.0.x.
I've several ideas for 1.0.x but they are some kind of hack ...

>But what about packages?
>What are the plans of the fpc-team for packages?

I guess packages will be dynamic lib, i.e. .so based on linux, so see above.





More information about the fpc-pascal mailing list