[lazarus] Copmpiler dependency bug ??

Michael Van Canneyt michael.vancanneyt at wisa.be
Sat Apr 8 14:40:14 EDT 2000




On Sat, 8 Apr 2000, Marc Weustink wrote:

> What I try to make clear is as long as this "recompilation" is the case we 
> can't create an "indepandent" LCL, IE, a LCL with only compiled units. For 
> every project, the compiler wants to rebuild the LCL (and that's something 
> we don't want).

Just another short note:

Delphi recompiles units A,B and C the second time;
--> so with FPC you win 1 compile :-)

If you give Delphi the -M option (only make changed units) it recompiles
ONLY unit a the second time, which is apparently the behaviour you expect.

In any case, it is always dangerous to have circular unit dependencies,
And in my opinion you should re-think the unit structure in such case.
But that is only my personal opinion.

Michael.






More information about the Lazarus mailing list