[fpc-pascal] Distinguishing between ARM and ARMHF at build time
Sven Barth
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
>
> HeavyWethers-$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)
>
> 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...
Refards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151011/80f61d7e/attachment.html>
More information about the fpc-pascal
mailing list