<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">J. Gareth Moreton via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> schrieb am Sa., 27. Apr. 2024, 10:00:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p>You've piqued my interest. I currently only have the ability to
develop on aarch64-linux (Raspberry Pi 400), but I'm curious to
know if I can get a version of Windows to run on it, even if the
performance will be very bad.</p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">In a Pi 4 it runs relatively well. I've done it both natively and as a KVM. Check the WoRProject ( <a href="https://worproject.com/">https://worproject.com/</a> ). </div><div dir="auto">A Pi 5 would be even better though there you currently might need to use KVM as the native drivers are still a work in progress. </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p>So far I've tried to reproduce the issues on aarch64-linux
without any success. 40203 makes sense because it may be a
specific issue with Windows exception handling, but 40198 is a
mystery because it's more closely tied with code generation. Can
you verify that the problem illustrated on 40198 still occurs on
the trunk? (I've confirmed that if there are more than 10 case
statements, the code generator attempts to use a jump table unless
optimisations are turned off) </p></div></blockquote></div></div><div dir="auto">It's a Windows specific issue, cause the PE format has slightly different relocation requirements than the ELF format.</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>