Cross-compile with LDC

Jacob Carlborg via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat Feb 20 03:55:53 PST 2016


On 2016-02-19 18:14, Joakim wrote:

> Probably?  Ldc "should" produce the exact same output on another OS and
> be able to use a standard library compiled elsewhere, provided you use
> the same version of ldc and llvm.  I haven't actually tried it, to see
> if that theory works out in practice. ;)

Thanks, I'll give it a try.

> As kinke says, those are the flags passed to your C compiler when
> building the C parts of druntime and phobos.  An example can be seen in
> my second link above, when invoking the clang Android/ARM cross-compiler
> from the Android NDK.

Make sense now when I read the whole name :). Thanks.

-- 
/Jacob Carlborg


More information about the digitalmars-d-ldc mailing list