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@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,

Nikolay


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to