Re: [fpc-pascal] Cross-compiler for ARM64 on Windows available?
On 21/06/2022 20:15, Dennis Lee Bieber via fpc-pascal wrote: On Tue, 21 Jun 2022 18:08:31 +0200, Tomas Hajny via fpc-pascal declaimed the following: but not usable together with the included ppca64.exe binary (because the included ppca64.exe binary is a native compiler for aarch64-win64, Is it? With "ppca" I'd think that was Power PC Architecture (Apple/IBM/Motorola => "AIM")https://en.wikipedia.org/wiki/PowerPC -- and is NOT related to ARM architecture. ppc ~= .pp compiler. All of our compiler binaries start with ppc. The PowerPC compiler is ppcppc. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Cross-compiler for ARM64 on Windows available?
Tomas Hajny via fpc-pascal 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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Cross-compiler for ARM64 on Windows available?
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. In order to check that, I downloaded your "cross-installer" mentioned above, but it contains win32 hosted builds of binutils named x86_64-win64-*.exe, i.e. supposedly aimed at targetting Win64 on x86_64, but not usable together with the included ppca64.exe binary (because the included ppca64.exe binary is a native compiler for aarch64-win64, whereas the binutils only run under win32/win64; moreover, they do not fit the subdirectory bin/aarch64-win64/ included in the .tar.gz file). And just as a funny fact, the included x86_64-win64-objdump.exe does not even recognize the AArch64 architecture ;-) (tried with the ppca64.exe binary) - not surprisingly, because it's version 2.26 compiled in January 2016. Conclusion: 1) Packaging of the "cross-installer" mentioned above should be revised (specifically, the binutils should be replaced with something more appropriate). 2) We should provide the appropriate cross-binutils, otherwise even suggesting people to compile the ppca64.exe compiler from trunk/main FPC themselves doesn't help much. 3) It might be time for updating the provided Win32 binutils as well - version 2.28 of objdump included with the latest release of FPC (and also included in the fpcbuild repository in both the win32 and win64 subdirectories under install/) doesn't support/recognize the AArch64 architecture yet. Tomas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Cross-compiler for ARM64 on Windows available?
Hello, this is normally a native aarch64-win64 compiler, not a cross-compiler package to be installed on linux. Note however that, as stated below, this was never tested. It will also not run on a Windows XP, unless you have an aarch64-windows_XP, but I am not aware of the existence of such machines. Regards, Pierre Le 21/06/2022 à 11:14, Wolfgang Hubert a écrit : Hi all, Pierre Muler via fpc-pascal wrote: 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 Thank you for pointing me to this installer. Since I am a Windows XP user and also blind, it would be too much effort for me to install a Linux machine or compile the compiler myself. I would rather wait until a compiler for the Windows host is available. If anyone has one, please let me know. Regards, Wolfgang ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Mail Test
Yes I can see this one. I sent this reply to fpc-pascal@lists.freepascal.org and didn’t CC you. > On Jun 21, 2022, at 4:08 PM, Sven Barth via fpc-pascal > wrote: > > This is just a test of the mailing list. > > @Ryan: if you can see this, would you please reply with only the list, but > not myself as receiver? > > Regards, > Sven > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal Regards, Ryan Joseph ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Cross-compiler for ARM64 on Windows available?
Hi all, Pierre Muler via fpc-pascal wrote: 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 Thank you for pointing me to this installer. Since I am a Windows XP user and also blind, it would be too much effort for me to install a Linux machine or compile the compiler myself. I would rather wait until a compiler for the Windows host is available. If anyone has one, please let me know. Regards, Wolfgang ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] Mail Test
This is just a test of the mailing list. @Ryan: if you can see this, would you please reply with only the list, but not myself as receiver? Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal