[lazarus] New Makefiles
peter at freepascal.org
peter at freepascal.org
Mon Sep 11 02:28:17 EDT 2000
> At 23:16 10-09-2000 +0200, Peter Vreman wrote:
>
> >It's because the compiler depends also on the implementation of the units,
> >because the changed amount of used registers can be different.
>
> ?? I don't understand.
> IMO if you compile a unit once and don't change anything a second compile
> shouldn't recompile any unit.
> Try to compile the attached example
It'll start compiling unitdep1. THen it sees it requires unitdep2 which is then
compiled, that one needs unitdep1, but from the implementation. Then the
interface of unitdep2 is already parsed and the used registers is set to "all
registers used". THen unitdep1 is compiled again which has now the knowledge
about unitdep2 interface section. And finally the unitdep2 implementation is
compiled.
If you want to fix the problems you can also compile with the -Ca flag. Which
sets the used registers to all always.
More information about the Lazarus
mailing list