Thread overview | |||||
---|---|---|---|---|---|
|
April 08, 2020 Cross-compile for ARM | ||||
---|---|---|---|---|
| ||||
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? |
April 08, 2020 Re: Cross-compile for ARM | ||||
---|---|---|---|---|
| ||||
Posted in reply to Severin Teona | 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 |
April 08, 2020 Re: Cross-compile for ARM | ||||
---|---|---|---|---|
| ||||
Posted in reply to Severin Teona | 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 |
Copyright © 1999-2021 by the D Language Foundation