Thread overview
[Issue 18907] Support cross-compiling
May 26, 2018
Manu
May 26, 2018
Jacob Carlborg
May 26, 2018
Manu
May 29, 2018
Andrea Fontana
Aug 02
Manu
May 26, 2018
https://issues.dlang.org/show_bug.cgi?id=18907

--- Comment #1 from Manu <turkeyman@gmail.com> ---
I should also add, this would be very useful for developing, but not JUST for developing.

I have a couple of projects where we generate our windows builds from linux CI
infrastructure. We cross-compile our windows builds from linux, and DMD can't
currently participate in that workflow.
I have used wine to build for windows using DMD from linux in the past, and
that is... definitely less than ideal.

--
May 26, 2018
https://issues.dlang.org/show_bug.cgi?id=18907

Jacob Carlborg <doob@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob@me.com

--- Comment #2 from Jacob Carlborg <doob@me.com> ---
(In reply to Manu from comment #0)

> Rather, I have to commit, push somewhere, sync on linux, build it there, and run my tests.

In the meantime there's Windows subsystem for Linux and Docker.

--
May 26, 2018
https://issues.dlang.org/show_bug.cgi?id=18907

--- Comment #3 from Manu <turkeyman@gmail.com> ---
I've been using WSL. It has taken a couple of steps out of the turn-around,
it's still not ideal though.
I'd like to just run the same binary, and I can debug it using the same
debugger I use.

--
May 29, 2018
https://issues.dlang.org/show_bug.cgi?id=18907

Andrea Fontana <trikkuz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trikkuz@gmail.com

--- Comment #4 from Andrea Fontana <trikkuz@gmail.com> ---
I always hoped this. And I hope someone will patch dmd.

--
August 02
https://issues.dlang.org/show_bug.cgi?id=18907

--- Comment #5 from Manu <turkeyman@gmail.com> ---
This would really make iterating on DMD under windows SOOO MUCH EASIER!

--