hello,
if i use sourcecloser to distribute some of my components, the compiled PPUs depend only on the fpc version or also the lazarus version?
Bye

Mailing lists / lazarus / 2026-07
6 messages · 2 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
hello,
if i use sourcecloser to distribute some of my components, the compiled PPUs depend only on the fpc version or also the lazarus version?
Bye
Luca Olivetti wrotehello, if i use sourcecloser to distribute some of my components, the compiled PPUs depend only on the fpc version or also the lazarus version?
If it does not use any lazarus package, e.g. lazutils, then only the fpc version.
Mattias
El 17/7/26 a les 14:21, Mattias Gaertner via lazarus ha escrit:
I checked and they use
IDEIntf
LCL
LCLBase
LazUtils
so I guess they depend on lazarus too
Bye
Yes.
The ppu checksums are pretty rigorous.
Mattias
El 17/7/26 a les 14:58, Mattias Gaertner via lazarus ha escrit:
If the customer independently compiles from sources the same version of lazarus, using the same compiler I used, will the PPUs I generate with my copy of lazbuild work?
Side note: is there a way to script (under windows) the compilation of lazarus including extra packages (a mix of packages included with lazarus but not installed by default, local packages with sources or processed by sourcecloser and packages from the online package manager)?
Bye
Luca Olivetti wrote[...] If the customer independently compiles from sources the same version of lazarus, using the same compiler I used, will the PPUs I generate with my copy of lazbuild work?
The ppu checkums are computed from the unit interfaces, inlines and generics. So if the user compiles with options that changes those, it will break.
Side note: is there a way to script (under windows) the compilation of lazarus including extra packages (a mix of packages included with lazarus but not installed by default, local packages with sources or processed by sourcecloser and packages from the online package manager)?
Use lazbuild --build-ide to build the IDE.
Use the --add-package option to install a package.
I don't know if there is a command line tool to download packages via the OPM.
Mattias