dmd Arm64 - first function compile!

Dukc ajieskola at gmail.com
Sun Jun 2 09:56:19 UTC 2024


Walter Bright kirjoitti 2.6.2024 klo 9.30:
> Hacking away listening to Brain Pain metal, the first function compiles:
> 
> ```
> void foo() { }
> ```
> 
> dmd -c test.d -vasm
> 
> producing:
> 
> ```
> _D4test3fooFZv:
> 0000:   D6 5F 03 C0  ret
> ```
> 
> And there it is! Nothing else works, but what the heck.

Nice. A long way to go but you have to start somewhere!

Question, what's the host architecture? Does this ARM-targeting dmd run 
on ARM, or on x64 cross-compiling to ARM?


More information about the Digitalmars-d mailing list