Re: [fpc-devel] Windows for AArch64

2024-05-26 Thread J. Gareth Moreton via fpc-devel
Hopefully the first issue has now been resolved, although it may require refactoring later. https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/691 The main issue is that, for some reason, trying to dereference from a code section instead of a data section raises an access violation,

Re: [fpc-devel] Windows for AArch64

2024-05-26 Thread J. Gareth Moreton via fpc-devel
Thank you for all your assistance with this Sven. One trick I have been doing is writing equivalent programs in C/C++ to see how Clang and MSVC convert them into equivalent assembly language.  It's providing some insights at least in regards to what works.  My first attempted fix (putting the

Re: [fpc-devel] Windows for AArch64

2024-05-26 Thread Sven Barth via fpc-devel
J. Gareth Moreton via fpc-devel schrieb am Sa., 25. Mai 2024, 22:18: > Indeed - I'm not giving up! I installed Clang via LLVM. Which of the EXE > files is actually the assembler? It's not entirely clear (no "clang-as", > for example). (Although I trust it works!) > Simply check what FPC call