[fpc-devel] Another thread about the fact that official FPC releases are *unnecessarily* non-representative of the platforms it actually runs on

Nikolay Nikolov nickysn at gmail.com
Mon Sep 28 21:23:07 CEST 2020

On 9/28/20 10:01 PM, Bart via fpc-devel wrote:
> On Mon, Sep 28, 2020 at 3:45 PM Nikolay Nikolov via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>> compile to win32 via:
>> fpc -Pi386 hello.pas
> AFAIK a simple fpc hello.pas will do in that setup.
Yes, that is true. The -Pi386 is optional in this case.
>> and to win64 via:
>> fpc -Px86_64 hello.pas
> Doesn't that need a -TWin64 as well?

It's not needed - Win64 is the default target of the windows-hosted 
x86_64 crosscompiler. But it doesn't hurt if you add it.

Best regards,


More information about the fpc-devel mailing list