Cross compiling from windows targetting linux armel arm9
kink via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Dec 12 01:34:42 PST 2016
On Monday, 12 December 2016 at 04:49:33 UTC, Sai wrote:
> There used to be a link to the binary ldc2 compiler to do this
The Windows binaries are available, and cross-compilation works
as usual with `-mtriple=...`. This will allow you to generate
object files. You'll need to figure out how to build druntime-ldc
and phobos2-ldc for your target and then how to link your
cross-compiled objects against those libs and the C runtime
(e.g., building LDC yourself for armel and using that for native
linking?).
I don't think there ever was an LDC binary automating some of
this, please correct me if I'm wrong.
More information about the digitalmars-d-ldc
mailing list