Search code examples
d

Should I compile D program on Linux for windows?


Is there any way to compile a D program under linux for a windows operating system?


Solution

  • The easiest way to do this would probably be to run the windows version of dmd under wine. You could set up a cross compiler, but that'll be a lot of extra hassle for the same effect.