[fpc-pascal] Cross-compiler for ARM64 on Windows available?
Sven Barth
pascaldragon at googlemail.com
Tue Jun 21 20:01:17 CEST 2022
Tomas Hajny via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Di., 21. Juni 2022, 18:08:
> On 2022-06-21 00:14, Pierre Muller via fpc-pascal wrote:
> > 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 Pierre (and others ;-) ),
>
> .
> .
> >> 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
>
> I just tried to follow the advice above. Compiling the cross-compiler
> (Win32 hosted) is no problem using the fullcycle target (obviously, I
> could build just the particular compiler for AArch64 instead of all of
> them, but that isn't important) - so far so good. However, it already
> fails when trying to build the aarch64-win64 rtl using this
> cross-compiler, because the compiler complains about missing assembler
> aarch64-win64-clang.exe. Do we provide (compiled) win32 or win64 hosted
> binutils providing support for aarch64-win64 target? FWIW, I checked the
> contrib directory on our FTP, but didn't find anything useful in this
> regard there either.
>
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.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20220621/2c47eba7/attachment.htm>
More information about the fpc-pascal
mailing list