> On 5 Mar 2017, at 12:52, Walter Bright via dmd-internals > <[email protected]> wrote: > > We already do this for libelf.d, etc. I don't recall it ever being an issue. > > Target dependent object file generation does not use a runtime switch, either. > > The stub file can be merged with the non-stub file, and use a compile time > version conditional. No need for runtime dispatch.
How do you see cross-compiling working when it’s a compile time decision (compiling the compiler)? As far as I understand, it only works for LDC because they’re not using the same makefiles as DMD does. -- /Jacob Carlborg _______________________________________________ dmd-internals mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-internals
