[fpc-pascal] Cross-compiler for ARM64 on Windows available?

Pierre Muller pierre at freepascal.org
Tue Jun 21 00:14:10 CEST 2022



Le 20/06/2022 à 23:53, Sven Barth via fpc-pascal a écrit :
> Am 20.06.2022 um 12:34 schrieb Wolfgang Hubert via fpc-pascal:
>> Hi,
>>
>>
>>
>> I have developed a DLL for x64 Windows and compiled with fpc 3.2.2. I
>> would like to compile the same code for ARM64 running Windows. I need
>> this to support the MS Surface devices.
>>
>>
>>
>> Even though the platform list of the Lazarus Wiki
>>
>> https://wiki.freepascal.org/Platform_list
>>
>> lists "Windows for ARM64" under "Supported targets for AArch64" I did
>> neither find a suitable cross-compiler for download, nor did I find
>> any hints on how to compile for this platform in the documentation.
>>
>>
>>
>> Is there a release plan for an fpc version for ARM64 on Windows? When
>> can I expect a suitable compiler to come?
> 
> Windows on AArch64 is currently only supported in main thus you need to
> compile it yourself (see also
> https://lists.freepascal.org/pipermail/fpc-announce/2020-April/000614.html
> ). Also there are still some errors for which the origins haven't been
> found yet, so your mileage may vary...

   You might also try this "completely untested" cross-installer:
ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/aarch64-win64/fpc-3.3.1.aarch64-win64.built.on.x86_64-linux.tar.gz
See:
ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/aarch64-win64/README-fpc-3.3.1.aarch64-win64.built.on.x86_64-linux



Pierre


More information about the fpc-pascal mailing list