[fpc-pascal] releasing commercial components as PPU files

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Oct 22 15:15:54 CEST 2012



On Mon, 22 Oct 2012, Graeme Geldenhuys wrote:

> Hi,
>
> Many Delphi components are sold as "full source code", or slightly
> cheaper (or as trial) as compiled *.DCU files for a specific Delphi version.
>
> Could this work with FPC too? Can I release commercial components as PPU
> files for say FPC 2.6.0  (knowing that those PPU's will not work with
> any other version of FPC).
>
> The only supported compilers will be the officially released versions.

That should work.

> My concern are platforms like Linux, FreeBSD, where the official release
> is often is source code format. Would it matter if they compile there
> own FPC 2.6.0 release, and would my PPU's still work in that case?

That will most probably not work, although maybe -Ur may provide a solution.

It is a discussion I have had several times, and usually the result was
negative. As soon as any of the dependencies is recompiled, there are
problems.

Michael.



More information about the fpc-pascal mailing list