[fpc-pascal] Distinguishing between ARM and ARMHF at build time
pascaldragon at googlemail.com
Sun Oct 11 22:35:37 CEST 2015
Am 11.10.2015 18:46 schrieb "Mark Morgan Lloyd" <
markMLl.fpc-pascal at telemetry.co.uk>:
> I habitually use something like
> fpcV= 'Free Pascal v' + (*$I %FPCVERSION% *) ;
> fpcC= ' for ' + (*$I %FPCTARGETCPU% *) ;
> to generate "about box" text for programs, and designate the binary name
using the Lazarus IDE like
> Is there any way of determining that the target is actually an ARM HF
(e.g. Raspberry Pi) rather than some other ARM, so that "HF" could be
incorporated at compilation time or at the very least the about box text
could be patched at runtime?
Maybe we could add a FPCTARGETABI include...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal