[Lazarus] Cross-compile console program to Linux (Ubuntu)?

Ralf Quint freedos.la at gmail.com
Tue Oct 23 01:04:56 CEST 2018


On 10/22/2018 3:12 PM, Bo Berglund via Lazarus wrote:
> I guess this might be a FPC difference to Delphi...
> How can I make FPC understand that this is a conditional it shall just
> ignore?
By first checking if you are compiling in FreePascal in the first place?

{$IFNDEF FPC}
   {$IF CompilerVersion >= 26} {Delphi XE5..}
         Fmt := TFormatSettings.Create;
   {$IFEND}
{$IFEND}

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Lazarus mailing list