On Friday, 9 March 2018 at 07:56:12 UTC, Jacob Carlborg wrote:
LDC can cross-compile to various platforms, you just need a cross-linker and the system libraries. There's a Docker image that provides cross-compilers for various targets [1]. That image will provide a cross-linker and system libraries. I've created a Docker image based on the crossbuild image that contains LDC [2]. It targets macOS but it should be straightforward to adopt it to targeting ARM.

[1] https://hub.docker.com/r/multiarch/crossbuild
[2] https://github.com/jacob-carlborg/docker-ldc-darwin/blob/master/Dockerfile

--
/Jacob Carlborg

Awesome. Is this in a wiki somewhere?

I wanted to do mips couple of months ago, and this would have definitely helped.

Reply via email to