Recent

Author Topic: Windows on ARM64  (Read 276 times)

Wallaby

  • New Member
  • *
  • Posts: 47
Windows on ARM64
« on: July 05, 2022, 01:49:11 am »
I have a tool that I need to compile for the ARM64 CPU on Windows. I know, there is x64 emulator on Windows for ARM64, but it won't work for me since the tool makes use of a native ARM64 DLL and a system driver.

Now the list of supported platforms lists Windows for ARM64, but does anyone know how to build the cross-compiler x86-arm64?

Or is there any other way to build an Windows ARM64 binary with lazarus?

AlexTP

  • Hero Member
  • *****
  • Posts: 1845
    • UVviewsoft
Re: Windows on ARM64
« Reply #1 on: July 05, 2022, 06:08:09 am »
It was discussed in the mailing list - Win aarch64 code is not ready in FPC.

PascalDragon

  • Hero Member
  • *****
  • Posts: 4290
  • Compiler Developer
Re: Windows on ARM64
« Reply #2 on: July 05, 2022, 02:00:27 pm »
I have a tool that I need to compile for the ARM64 CPU on Windows. I know, there is x64 emulator on Windows for ARM64, but it won't work for me since the tool makes use of a native ARM64 DLL and a system driver.

Now the list of supported platforms lists Windows for ARM64, but does anyone know how to build the cross-compiler x86-arm64?

It's mentioned here. Please note that you should use the cross compiler (which you can run from Windows on ARM64 after all as well), because the native compiler still crashes when actually compiling something. Also whatever causes the native compiler to crash might also lead to problems in your own application (it's simply not yet known what the exact issue is).

 

TinyPortal © 2005-2018