DMD cross compiler

Manu turkeyman at gmail.com
Mon Sep 3 09:40:19 UTC 2018


On Mon, 3 Sep 2018 at 02:35, Joakim via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
>
> On Monday, 3 September 2018 at 09:21:21 UTC, bauss wrote:
> > On Sunday, 2 September 2018 at 01:52:18 UTC, Joakim wrote:
> >> On Saturday, 1 September 2018 at 20:12:24 UTC, Manu wrote:
> >>> [...]
> >>
> >> What specifically do you want to cross-compile to, something
> >> like Windows to macOS? LDC already does all this, ie the one
> >> compiler cross-compiles to every other platform with a single
> >> flag, may just want to use it.
> >
> > Not everyone can or want to use LDC.
>
> Why not? If you're not optimizing or iterating on your code, it's
> a reasonable replacement. If you're optimizing, you should only
> be using LDC or gdc.

DMD is for iterating on DMD ;)
Making DMD patches in LDC and then pushing upstream is much more of a
hassle. DMD build/iteration time is super fast too.


More information about the Digitalmars-d mailing list