[fpc-devel] Suggestion: decomposition exe to dll
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Dec 15 23:40:35 CET 2010
On 15 Dec 2010, at 18:47, Andrzej wrote:
> If I install component package I must rebuild all Lazarus. It is time-consuming. Would be better to have separate libraries like BPL in Delphi.
Some people are working on packages support, but it probably will not be ready in the near future
> This involves problem: code must works not only with library version strict to code, but with each higher. How solve it:
> Libraries can't change too much, not remove public methods and change parameters, only add method.
This is indeed a problem. In practice, it's unlikely that this will be possible because there is no grand vision or overarching plan of how the RTL should be. It is developed on an ad hoc basis, and e.g. compiler-specific helpers are added/removed/renamed as the compiler itself changes.
So programs compiled by a particular FPC release will probably only ever be guaranteed to work with the "BPL" compiled from that same release. They will have to be versioned just like any other library.
Jonas
More information about the fpc-devel
mailing list