On Thursday, 21 July 2016 at 13:13:39 UTC, Claude wrote:
On Thursday, 21 July 2016 at 10:30:55 UTC, Andrea Fontana wrote:
On Thursday, 21 July 2016 at 09:59:53 UTC, Claude wrote:
I can build a "Hello world" program on ARM GNU/Linux, with
druntime and phobos.
I'll write a doc page about that.
It's a good idea :)
Done:
https://wiki.dlang.org/LDC_cross-compilation_for_ARM_GNU/Linux
I based it totally on Kai's previous page for LDC on Android.
It lacks the build for druntime/phobos unit-tests.
Sorry, I didn't see this thread till now, or I could have saved
you some time by telling you not to apply the llvm patch on
non-Android linux. Note that you don't have to compile llvm
yourself at all, as long as the system llvm has the ARM backend
built in, as it often does.