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?

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to