So what is the state of cross-compilation in D?
Jacob Carlborg
doob at me.com
Wed Jan 17 17:46:50 UTC 2018
On 2018-01-17 14:28, Nicholas Wilson wrote:
> LDC is a cross compiler by default.
> the `-mtriple` flag tells LDC what arch, OS and cpu to target.
> `-linker=lld-link` or `-linker=lld` (not really sure of the difference)
> will use LLVM crosslinker, so provided you have the appropriate
> libraries to link against it should work
Unfortunately LLD is not ready yet for all targets, but for those
targets it is ready it should work.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list