Cross-compile for ARM
    Johan 
    j at j.nl
       
    Wed Apr  8 22:08:42 UTC 2020
    
    
  
On Wednesday, 8 April 2020 at 15:52:59 UTC, Severin Teona wrote:
> Hello,
>
> I am working with a NUCLEO_f429zi board, architecure ARMv7e-m 
> and cortex-m4 CPU. I want to cross-compile D code for it from 
> Ubuntu 18.04 LTS Server. My current GCC version is 9.
>
> How can I do that? What is the best cross-compiler for that?
I'm heavily biased, but LDC is a cross-compiler by nature. Recent 
LDC releases can all cross-compile to ARM cpus.
https://wiki.dlang.org/Cross-compiling_with_LDC
https://wiki.dlang.org/Building_LDC_runtime_libraries
Have a look here: 
https://github.com/JinShil/stm32f42_discovery_demo
-Johan
    
    
More information about the Digitalmars-d-learn
mailing list