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,
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
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