digitalmars.D.learn - Cross-compile for ARM
- Severin Teona (5/5) Apr 08 2020 Hello,
- Timo Sintonen (7/12) Apr 08 2020 Have a look at this thread:
- Johan (8/13) Apr 08 2020 I'm heavily biased, but LDC is a cross-compiler by nature. Recent
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?
Apr 08 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?Have a look at this thread: https://forum.dlang.org/thread/leuxesimcgscjjthpdhs forum.dlang.org and my repo at https://bitbucket.org/timosi/minlibd it has not been updated for a while but a version for gdc 9 is almost ready to publish
Apr 08 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
Apr 08 2020