[fpc-pascal] When are used units recompiled? (wiki page added)

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Apr 6 23:04:02 CEST 2006

On 6 apr 2006, at 22:59, Tom Verhoeff wrote:

> This raises the concern that precompiled units become obsolete when
> the user of such a unit upgrades the compiler.  The compiler  
> apparently
> requires that the System unit of the precompiled unit and of the using
> program are IDENTICAL (which is enforced by the somewhat weaker check
> of comparing their checksums; but in practice that will have the same
> effect).

The checksum is only calculated on the interface (i.e. all exported  
symbols), it's not a generic binary checksum of the entire unit.


More information about the fpc-pascal mailing list