Peter Vreman peter at freepascal.org
Wed Oct 22 10:32:36 CEST 2008

> As of version 2.3.1, the compiler by itself indicates all the various
> features it supports with FPC_HAS_FEATURE_XXX defines. Exactly which
> defines are defines depends on the compiler binary. For normal platforms,
> all features are enabled.
> To indicate the use of this system, it defines FPC_HAS_FEATURE_SUPPORT.
> To be able to compile the RTL with version 2.2.0, The systemh.inc checks
> for the presence of FPC_HAS_FEATURE_SUPPORT. If it is not defined then
> it assumes the version is below 2.3.0 and all the FPC_HAS_FEATURE_XXX
> confitionals are defined in the systemh.inc source.
> For lazarus this means that it should either
> - Or define all FPC_HAS_FEATURE_XXX constants.
> - Or maybe even check the compiler binary using the above method...

The best solution is using the PPUs instead of sources.


More information about the fpc-devel mailing list