<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tomas Hajny via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Di., 21. Juni 2022, 18:08:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2022-06-21 00:14, Pierre Muller via fpc-pascal wrote:<br>
> Le 20/06/2022 à 23:53, Sven Barth via fpc-pascal a écrit :<br>
>> Am 20.06.2022 um 12:34 schrieb Wolfgang Hubert via fpc-pascal:<br>
<br>
<br>
Hi Pierre (and others ;-) ),<br>
<br>
  .<br>
  .<br>
>> Windows on AArch64 is currently only supported in main thus you need <br>
>> to<br>
>> compile it yourself (see also<br>
>> <a href="https://lists.freepascal.org/pipermail/fpc-announce/2020-April/000614.html" rel="noreferrer noreferrer" target="_blank">https://lists.freepascal.org/pipermail/fpc-announce/2020-April/000614.html</a><br>
>> ). Also there are still some errors for which the origins haven't been<br>
>> found yet, so your mileage may vary...<br>
> <br>
>   You might also try this "completely untested" cross-installer:<br>
> <a href="ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/aarch64-win64/fpc-3.3.1.aarch64-win64.built.on.x86_64-linux.tar.gz" rel="noreferrer noreferrer" target="_blank">ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/aarch64-win64/fpc-3.3.1.aarch64-win64.built.on.x86_64-linux.tar.gz</a><br>
> See:<br>
> <a href="ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/aarch64-win64/README-fpc-3.3.1.aarch64-win64.built.on.x86_64-linux" rel="noreferrer noreferrer" target="_blank">ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/aarch64-win64/README-fpc-3.3.1.aarch64-win64.built.on.x86_64-linux</a><br>
<br>
I just tried to follow the advice above. Compiling the cross-compiler <br>
(Win32 hosted) is no problem using the fullcycle target (obviously, I <br>
could build just the particular compiler for AArch64 instead of all of <br>
them, but that isn't important) - so far so good. However, it already <br>
fails when trying to build the aarch64-win64 rtl using this <br>
cross-compiler, because the compiler complains about missing assembler <br>
aarch64-win64-clang.exe. Do we provide (compiled) win32 or win64 hosted <br>
binutils providing support for aarch64-win64 target? FWIW, I checked the <br>
contrib directory on our FTP, but didn't find anything useful in this <br>
regard there either.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">As is mentioned in my announcement mail for the target it requires clang as assembler, not GNU binutils. And we don't *want* to ship that as clang provides nice installers themselves. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>