Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-09

packages, libs

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi all,

AFAIK fpc supports libs (c -> pascal, pascal -> c, object pascal -> object pascal, dynamic, static, smart). But what about packages?
What are the plans of the fpc-team for packages?

Mattias Gaertner

Reply by email

Florian Klaempfl
to Mattias Gaertner
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.

Reply by email