[Issue 18907] New: Support cross-compiling
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat May 26 03:51:29 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18907
Issue ID: 18907
Summary: Support cross-compiling
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: turkeyman at gmail.com
DMD is self-contained, and all the source is there to generate code for all
targets.
Can the target selection please be a runtime option?
It would be super handy even when *developing* DMD if it could cross-compile.
I'm working in windows, iterating on DMD, and every few minutes I run some test
compiles and see the windows output, but I'd love to also see the linux output
looks right.
Rather, I have to commit, push somewhere, sync on linux, build it there, and
run my tests.
That's a slow and pointless turnaround, when I'm sure it wouldn't be too hard
for DMD to just accept a --target option, then I could verify both outputs at
the same time from the same place. Save me hours of stuffing about!
So, any takers? :)
--
More information about the Digitalmars-d-bugs
mailing list