Another really good example of cross compilation is x86 ->
arm. I don't have actual statistics to back it other than my own
where essentially ALL of my arm development for the last 2ish
years has been like that. Cross-compilation between platforms is
increasingly the norm. x86 to x86 is about the only place it
isn't done.
On 03/07/2017 08:10 AM, Walter Bright via dmd-internals wrote:On 3/6/2017 3:48 AM, Daniel Murphy wrote: I don't see the value in, for example, compiling Linux code from Windows. As I said, it has never come up.That's a misjudgement, go get's a lot out of having full and simple cross-compilation support built-in. Makes packaging/releasing a swift and is one of the reasons it's getting a lot of traction. Their support is also simpler than using different cross-compilers for each target, not sure if that's possible w/ GDC/LDC's multilibs. Biggest hurdle seems to be cross-OS linking, not sure how to best address this. The go people typically use static linking to avoid that problem. -Martin
_______________________________________________ dmd-internals mailing list dmd-internals@puremagic.com http://lists.puremagic.com/mailman/listinfo/dmd-internals