<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>If I understand correctly, this LLVM backend outputs C ?</div><div>So for me purpose the process would work like :</div><div><br></div><div>C++ -> clang -> LLVM-C-backend -> C -> SDCC -> z80 assembly?<br></div><div><br></div><div>and I read that a current problem is that the 'volatile' keyword gets dropped, that last bit sound like it would actually defeat the whole purpose of the exercise ?</div><div>volatile is kindof essential to working with the z80' memory-mapped-IOs?</div><div><br></div><div>Anyway, thanks for your suggestion, I will definitely check it out!</div><div><br></div><div><br></div><div>Greetings,</div><div><br></div><div>Jan</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The easiest to get C++17 on the Z80 is probably using the experimental<br>
LLVM+SDCC toolchain:<br>
<a href="https://sourceforge.net/p/sdcc/mailman/message/35382805/" rel="noreferrer" target="_blank">https://sourceforge.net/p/<wbr>sdcc/mailman/message/35382805/</a><br>
Though there is still some work to be done it should be much easier to<br>
make useable for you than to get full Z80 support in LLVM itself.<br>
<br>
Philipp<br></blockquote></div>
</div></div>